Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 99.27 kB / 16.02 MB, free: 76 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.001639/0.00164, allocations: 180.7 kB / 16.92 MB, free: 6.918 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.756/2.756, allocations: 462.6 MB / 0.737 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004748, allocations: 9.219 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3401, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007292/0.3475, allocations: 6.541 MB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.161/0.5085, allocations: 147.2 MB / 1.209 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.5101, allocations: 19.88 kB / 1.21 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009645/0.5111, allocations: 198.4 kB / 1.21 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.514, allocations: 0.6696 MB / 1.21 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.5164, allocations: 0.8784 MB / 1.211 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002688/0.5191, allocations: 1.952 MB / 1.213 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.5208, allocations: 1.047 MB / 1.214 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.5219, allocations: 0.5403 MB / 1.215 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.5229, allocations: 0.6099 MB / 1.215 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.5232, allocations: 36 kB / 1.215 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.5243, allocations: 383.6 kB / 1.216 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.5246, allocations: 262.6 kB / 1.216 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009677/0.5256, allocations: 0.7433 MB / 1.217 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.5279, allocations: 1.952 MB / 1.219 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5279, allocations: 4 kB / 1.219 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5279, allocations: 0 / 1.219 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.93e-05/0.528, allocations: 0 / 1.219 GB, free: 1.277 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003647/0.5316, allocations: 1.694 MB / 1.22 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5317, allocations: 15.97 kB / 1.22 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5327, allocations: 266.5 kB / 1.22 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.5342, allocations: 0.9773 MB / 1.221 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.5344, allocations: 148.8 kB / 1.222 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.5346, allocations: 148 kB / 1.222 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.5373, allocations: 1.596 MB / 1.223 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5373, allocations: 0 / 1.223 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.5375, allocations: 68 kB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.5375, allocations: 36 kB / 1.223 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.5401, allocations: 1.608 MB / 1.225 GB, free: 10.57 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.007454/0.5476, allocations: 4.776 MB / 1.23 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.5498, allocations: 1.096 MB / 1.231 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.5506, allocations: 435.9 kB / 1.231 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.5507, allocations: 48.94 kB / 1.231 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.552, allocations: 0.7074 MB / 1.232 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 3.447e-06/0.552, allocations: 0 / 1.232 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.004207/0.5562, allocations: 1.676 MB / 1.233 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.5564, allocations: 196.9 kB / 1.234 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.5577, allocations: 0.8375 MB / 1.234 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.5578, allocations: 53.69 kB / 1.235 GB, free: 448 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/0.5584, allocations: 0.6129 MB / 1.235 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.5587, allocations: 358.8 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.5589, allocations: 93.67 kB / 1.236 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.5591, allocations: 345.9 kB / 1.236 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000822/0.56, allocations: 406.4 kB / 1.236 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009748/0.5609, allocations: 0.5111 MB / 1.237 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.5626, allocations: 0.9033 MB / 1.238 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5626, allocations: 0 / 1.238 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002815/0.5654, allocations: 1.219 MB / 1.239 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.5654, allocations: 13.5 kB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5655, allocations: 3.984 kB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.5661, allocations: 84.84 kB / 1.239 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.5671, allocations: 231.7 kB / 1.239 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.5695, allocations: 1.555 MB / 1.241 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.5708, allocations: 157.1 kB / 1.241 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5709, allocations: 47.97 kB / 1.241 GB, free: 9.73 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0007358/0.5716, allocations: 356.4 kB / 1.241 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.5719, allocations: 114.6 kB / 1.241 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.5754, allocations: 1.543 MB / 1.243 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.5755, allocations: 16 kB / 1.243 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5755, allocations: 0 / 1.243 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.5755, allocations: 7.969 kB / 1.243 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.5775, allocations: 1.365 MB / 1.244 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5775, allocations: 0 / 1.244 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/0.5785, allocations: 203.6 kB / 1.244 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/0.579, allocations: 84.78 kB / 1.244 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.5791, allocations: 31.97 kB / 1.244 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.5812, allocations: 1.563 MB / 1.246 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5812, allocations: 0 / 1.246 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.5838, allocations: 1.293 MB / 1.247 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/0.5844, allocations: 391 kB / 1.248 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.5846, allocations: 24 kB / 1.248 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/0.5855, allocations: 116.1 kB / 1.248 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.5858, allocations: 113 kB / 1.248 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/0.5859, allocations: 47.97 kB / 1.248 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009491/0.5868, allocations: 0.6174 MB / 1.249 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5868, allocations: 0 / 1.249 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001214/0.5881, allocations: 486.4 kB / 1.249 GB, free: 1.125 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001435/0.5895, allocations: 0.6077 MB / 1.25 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5202/1.11, allocations: 1.157 MB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.11, allocations: 0.9688 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/1.111, allocations: 0.6797 MB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.113, allocations: 317 kB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/1.118, allocations: 3.254 MB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/1.119, allocations: 1.224 MB / 1.256 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/1.119, allocations: 158.7 kB / 1.256 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.119, allocations: 0 / 1.256 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04472/1.164, allocations: 27.11 MB / 1.283 GB, free: 177.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches