Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 120 kB / 16.81 MB, free: 5.754 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.001613/0.001613, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.422/1.422, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.09 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3294, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007978/0.3374, allocations: 5.133 MB / 1.267 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1889/0.5263, allocations: 151.1 MB / 1.415 GB, free: 56 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008937/0.5272, allocations: 19.88 kB / 1.415 GB, free: 36 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.5279, allocations: 202.1 kB / 1.415 GB, free: 15.84 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.5297, allocations: 0.5627 MB / 1.415 GB, free: 15.27 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.5317, allocations: 0.8679 MB / 1.416 GB, free: 14.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.5333, allocations: 1.436 MB / 1.418 GB, free: 12.97 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008169/0.5342, allocations: 476.5 kB / 1.418 GB, free: 12.48 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000705/0.5349, allocations: 0.51 MB / 1.419 GB, free: 11.97 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.5355, allocations: 0.5523 MB / 1.419 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.5357, allocations: 124 kB / 1.419 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.5367, allocations: 499.6 kB / 1.42 GB, free: 10.8 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.5371, allocations: 315 kB / 1.42 GB, free: 10.5 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.5377, allocations: 0.6025 MB / 1.421 GB, free: 9.891 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.5399, allocations: 1.747 MB / 1.422 GB, free: 8.137 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5399, allocations: 0 / 1.422 GB, free: 8.137 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5399, allocations: 0 / 1.422 GB, free: 8.137 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.54, allocations: 0 / 1.422 GB, free: 8.137 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002832/0.5428, allocations: 1.525 MB / 1.424 GB, free: 6.551 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5428, allocations: 8.031 kB / 1.424 GB, free: 6.543 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.544, allocations: 224 kB / 1.424 GB, free: 6.324 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.5453, allocations: 0.7895 MB / 1.425 GB, free: 5.492 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.5453, allocations: 77.86 kB / 1.425 GB, free: 5.418 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.5455, allocations: 96 kB / 1.425 GB, free: 5.324 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.5473, allocations: 1.003 MB / 1.426 GB, free: 4.281 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.5474, allocations: 0 / 1.426 GB, free: 4.281 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-05/0.5475, allocations: 47.94 kB / 1.426 GB, free: 4.234 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.5475, allocations: 20 kB / 1.426 GB, free: 4.215 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.5496, allocations: 1.175 MB / 1.427 GB, free: 3.039 MB / 1.139 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.004599/0.5542, allocations: 2.856 MB / 1.43 GB, free: 60 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.5567, allocations: 0.931 MB / 1.431 GB, free: 15.11 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.5573, allocations: 286.6 kB / 1.431 GB, free: 14.83 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.5574, allocations: 32.61 kB / 1.431 GB, free: 14.8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009769/0.5584, allocations: 0.5009 MB / 1.432 GB, free: 14.28 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.204e-06/0.5584, allocations: 0 / 1.432 GB, free: 14.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003475/0.5619, allocations: 1.225 MB / 1.433 GB, free: 13.02 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.562, allocations: 200.5 kB / 1.433 GB, free: 12.79 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.5629, allocations: 0.6449 MB / 1.434 GB, free: 12.14 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.563, allocations: 37.7 kB / 1.434 GB, free: 12.09 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.5634, allocations: 429.1 kB / 1.434 GB, free: 11.67 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.5636, allocations: 281.7 kB / 1.434 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.5639, allocations: 170.5 kB / 1.435 GB, free: 11.22 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.5641, allocations: 386.8 kB / 1.435 GB, free: 10.83 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.5647, allocations: 273.8 kB / 1.435 GB, free: 10.56 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007482/0.5655, allocations: 379 kB / 1.436 GB, free: 10.18 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.5668, allocations: 0.6228 MB / 1.436 GB, free: 9.547 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5668, allocations: 0 / 1.436 GB, free: 9.547 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002173/0.569, allocations: 0.8765 MB / 1.437 GB, free: 8.66 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.569, allocations: 13.97 kB / 1.437 GB, free: 8.648 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.569, allocations: 0 / 1.437 GB, free: 8.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.5696, allocations: 88.84 kB / 1.437 GB, free: 8.559 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/0.5704, allocations: 167.7 kB / 1.437 GB, free: 8.395 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.5727, allocations: 1.634 MB / 1.439 GB, free: 6.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.5735, allocations: 99.52 kB / 1.439 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.5736, allocations: 47.89 kB / 1.439 GB, free: 6.469 MB / 1.154 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 (96): * Single equations (assignments): 95 * 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.0004926/0.5741, allocations: 275.5 kB / 1.439 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.5742, allocations: 87.44 kB / 1.439 GB, free: 6.105 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.5769, allocations: 1.093 MB / 1.44 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5769, allocations: 7.922 kB / 1.44 GB, free: 4.984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5769, allocations: 3.984 kB / 1.44 GB, free: 4.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.5773, allocations: 268.2 kB / 1.441 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.5774, allocations: 27.95 kB / 1.441 GB, free: 4.672 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.5781, allocations: 67.92 kB / 1.441 GB, free: 4.605 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.5782, allocations: 68.89 kB / 1.441 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002244/0.5805, allocations: 0.9749 MB / 1.442 GB, free: 3.551 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002622/0.5831, allocations: 1.446 MB / 1.443 GB, free: 2.09 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006815/0.5838, allocations: 339.8 kB / 1.444 GB, free: 1.758 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006259/0.5844, allocations: 471 kB / 1.444 GB, free: 1.305 MB / 1.154 GB Notification: Performance of Backend: time 3.6e-07/0.5844, allocations: 0 / 1.444 GB, free: 1.305 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0042/0.5886, allocations: 1.246 MB / 1.445 GB, free: 280 kB / 1.154 GB Notification: Performance of SimCode: time 0.003545/0.5921, allocations: 2.16 MB / 1.447 GB, free: 14.07 MB / 1.17 GB Notification: Performance of Templates: time 0.03277/0.6249, allocations: 17.31 MB / 1.464 GB, free: 12.94 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches