Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001526, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 193 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.33 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3391, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006816/0.3459, allocations: 4.999 MB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.5231, allocations: 150.7 MB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.5243, allocations: 19.88 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.525, allocations: 190.1 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.5274, allocations: 0.5649 MB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.5301, allocations: 0.8829 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.532, allocations: 1.456 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008914/0.5329, allocations: 0.6108 MB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.5336, allocations: 0.5023 MB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.5342, allocations: 0.5445 MB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.5344, allocations: 120 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009942/0.5354, allocations: 487.7 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.5357, allocations: 315 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.5363, allocations: 0.5869 MB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.5382, allocations: 1.682 MB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5382, allocations: 0 / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5382, allocations: 4 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.5382, allocations: 0 / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002789/0.541, allocations: 1.499 MB / 1.229 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5411, allocations: 8.031 kB / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009835/0.5421, allocations: 191.4 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5432, allocations: 0.7662 MB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.5433, allocations: 66 kB / 1.23 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5434, allocations: 88 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5451, allocations: 0.9807 MB / 1.232 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5451, allocations: 0 / 1.232 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.5452, allocations: 36 kB / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.5452, allocations: 20 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.5471, allocations: 1.163 MB / 1.233 GB, free: 1.172 MB / 0.9825 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.004514/0.5516, allocations: 2.906 MB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.5537, allocations: 0.9771 MB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.5543, allocations: 330.6 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.879e-05/0.5544, allocations: 32.67 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000967/0.5553, allocations: 0.5373 MB / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.354e-06/0.5554, allocations: 0 / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003373/0.5587, allocations: 1.302 MB / 1.239 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5589, allocations: 192.9 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.5598, allocations: 0.649 MB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.5598, allocations: 41.7 kB / 1.24 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.5602, allocations: 416.4 kB / 1.24 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.5604, allocations: 280 kB / 1.24 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.5607, allocations: 186.4 kB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.5609, allocations: 390.8 kB / 1.241 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.5615, allocations: 289.8 kB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.5622, allocations: 391.1 kB / 1.241 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5633, allocations: 0.6476 MB / 1.242 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5634, allocations: 4 kB / 1.242 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00219/0.5656, allocations: 0.923 MB / 1.243 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5656, allocations: 4 kB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5656, allocations: 0 / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.5662, allocations: 84.8 kB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.567, allocations: 179.7 kB / 1.243 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.5691, allocations: 1.632 MB / 1.245 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/0.57, allocations: 107.3 kB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.5701, allocations: 39.97 kB / 1.245 GB, free: 4.234 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0006138/0.5707, allocations: 271.9 kB / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.5709, allocations: 90.97 kB / 1.245 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.5735, allocations: 1.195 MB / 1.246 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.5735, allocations: 8 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5735, allocations: 4 kB / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5735, allocations: 3.984 kB / 1.246 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.577, allocations: 2.098 MB / 1.248 GB, free: 500 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.577, allocations: 4 kB / 1.248 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.5776, allocations: 171.7 kB / 1.249 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.5781, allocations: 72.78 kB / 1.249 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.5781, allocations: 27.98 kB / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6746/1.253, allocations: 1.651 MB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.253, allocations: 1.734 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004661/1.257, allocations: 1.086 MB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008341/1.258, allocations: 292.3 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/1.259, allocations: 21.25 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.26, allocations: 71.94 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/1.261, allocations: 82.86 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/1.261, allocations: 41.23 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001584/1.262, allocations: 473.5 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.262, allocations: 4.25 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002344/1.265, allocations: 347.1 kB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002444/1.267, allocations: 0.6204 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004622/1.272, allocations: 1.139 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.272, allocations: 1.031 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.274, allocations: 0.5638 MB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.276, allocations: 309.3 kB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/1.282, allocations: 1.776 MB / 1.257 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/1.283, allocations: 1.05 MB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001891/1.285, allocations: 280.4 kB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/1.286, allocations: 119.8 kB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.974e-06/1.286, allocations: 2.938 kB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04355/1.329, allocations: 16.1 MB / 1.274 GB, free: 177.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches