Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 110.5 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.192/2.192, allocations: 437 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.89 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6438, allocations: 151.6 MB / 1.167 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005386/0.6493, allocations: 4.859 MB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1339/0.7832, allocations: 150.6 MB / 1.319 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.7839, allocations: 15.94 kB / 1.319 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.7844, allocations: 194.2 kB / 1.319 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.7858, allocations: 0.5443 MB / 1.32 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.7873, allocations: 0.8364 MB / 1.321 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.7883, allocations: 1.374 MB / 1.322 GB, free: 4.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.789, allocations: 0.5802 MB / 1.323 GB, free: 4.281 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.7894, allocations: 482.3 kB / 1.323 GB, free: 3.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.7899, allocations: 0.5018 MB / 1.324 GB, free: 3.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.79, allocations: 116 kB / 1.324 GB, free: 3.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006228/0.7906, allocations: 483.6 kB / 1.324 GB, free: 2.719 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.7908, allocations: 295.1 kB / 1.324 GB, free: 2.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003647/0.7912, allocations: 0.5519 MB / 1.325 GB, free: 1.875 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.7926, allocations: 1.634 MB / 1.326 GB, free: 244 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7926, allocations: 0 / 1.326 GB, free: 244 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7926, allocations: 0 / 1.326 GB, free: 244 kB / 1.045 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.7926, allocations: 0 / 1.326 GB, free: 244 kB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002036/0.7946, allocations: 1.465 MB / 1.328 GB, free: 14.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.7947, allocations: 12.58 kB / 1.328 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008259/0.7955, allocations: 196 kB / 1.328 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009109/0.7964, allocations: 0.7507 MB / 1.329 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.7965, allocations: 69.94 kB / 1.329 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/0.7966, allocations: 80 kB / 1.329 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.7979, allocations: 0.9183 MB / 1.33 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.7979, allocations: 4 kB / 1.33 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.798, allocations: 32 kB / 1.33 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.798, allocations: 20 kB / 1.33 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.7996, allocations: 1.104 MB / 1.331 GB, free: 11.46 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.8028, allocations: 2.691 MB / 1.334 GB, free: 8.652 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.8041, allocations: 0.7946 MB / 1.334 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.8046, allocations: 302.6 kB / 1.335 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.618e-05/0.8047, allocations: 36.67 kB / 1.335 GB, free: 7.527 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007199/0.8054, allocations: 491.1 kB / 1.335 GB, free: 7.027 MB / 1.061 GB Notification: Performance of pre-optimization done (n=80): time 1.904e-06/0.8054, allocations: 0 / 1.335 GB, free: 7.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=80): time 0.002815/0.8082, allocations: 1.198 MB / 1.336 GB, free: 5.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.8083, allocations: 188.6 kB / 1.337 GB, free: 5.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.8089, allocations: 0.6332 MB / 1.337 GB, free: 4.934 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.809, allocations: 49.58 kB / 1.337 GB, free: 4.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.8092, allocations: 405 kB / 1.338 GB, free: 4.477 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.8094, allocations: 269.7 kB / 1.338 GB, free: 4.211 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.8096, allocations: 162.6 kB / 1.338 GB, free: 4.047 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8098, allocations: 390.7 kB / 1.338 GB, free: 3.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.8103, allocations: 265.8 kB / 1.339 GB, free: 3.398 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.8108, allocations: 367.1 kB / 1.339 GB, free: 3.023 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.8118, allocations: 0.6111 MB / 1.34 GB, free: 2.402 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8118, allocations: 0 / 1.34 GB, free: 2.402 MB / 1.061 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001695/0.8135, allocations: 0.8493 MB / 1.34 GB, free: 1.539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.8135, allocations: 8 kB / 1.34 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8136, allocations: 3.938 kB / 1.34 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.8141, allocations: 84.83 kB / 1.341 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.8147, allocations: 163.7 kB / 1.341 GB, free: 1.281 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.8164, allocations: 1.627 MB / 1.342 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.8171, allocations: 95.47 kB / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.8171, allocations: 31.97 kB / 1.342 GB, free: 15.38 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.8174, allocations: 275.4 kB / 1.343 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.8176, allocations: 87.47 kB / 1.343 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.8196, allocations: 1.058 MB / 1.344 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.8197, allocations: 12 kB / 1.344 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8197, allocations: 3.938 kB / 1.344 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.8197, allocations: 11.91 kB / 1.344 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.8205, allocations: 0.8842 MB / 1.345 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8205, allocations: 0 / 1.345 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.821, allocations: 139.8 kB / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.8214, allocations: 80.78 kB / 1.345 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.8215, allocations: 23.97 kB / 1.345 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.8231, allocations: 1.65 MB / 1.347 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8231, allocations: 11.97 kB / 1.347 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.8248, allocations: 0.9322 MB / 1.347 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.8251, allocations: 276.2 kB / 1.348 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.8252, allocations: 20 kB / 1.348 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.8258, allocations: 66.28 kB / 1.348 GB, free: 9.605 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.8259, allocations: 72.83 kB / 1.348 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.826, allocations: 39.92 kB / 1.348 GB, free: 9.496 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004585/0.8265, allocations: 455 kB / 1.348 GB, free: 9.059 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8265, allocations: 0 / 1.348 GB, free: 9.059 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006607/0.8271, allocations: 335.1 kB / 1.349 GB, free: 8.73 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.8283, allocations: 0.597 MB / 1.349 GB, free: 8.297 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.8297, allocations: 0.8274 MB / 1.35 GB, free: 7.457 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8297, allocations: 0 / 1.35 GB, free: 7.457 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.8306, allocations: 0.508 MB / 1.351 GB, free: 6.938 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.8316, allocations: 310.1 kB / 1.351 GB, free: 6.652 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.8339, allocations: 1.7 MB / 1.352 GB, free: 4.918 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.8344, allocations: 1.023 MB / 1.353 GB, free: 3.867 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.8347, allocations: 115.4 kB / 1.354 GB, free: 3.754 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/0.8347, allocations: 0 / 1.354 GB, free: 3.754 MB / 1.076 GB Notification: Performance of Templates: time 0.01915/0.8538, allocations: 18.49 MB / 1.372 GB, free: 1.281 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time