Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.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 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.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001967/0.001968, allocations: 194.3 kB / 16.25 MB, free: 6.641 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.678/1.678, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 482.3 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.47 kB / 0.9233 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3739, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008122/0.3821, allocations: 5.955 MB / 1.088 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.558, allocations: 148.6 MB / 1.233 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008894/0.5589, allocations: 23.88 kB / 1.233 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.5596, allocations: 182.5 kB / 1.233 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.5612, allocations: 0.5428 MB / 1.233 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.563, allocations: 0.7841 MB / 1.234 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.5647, allocations: 1.634 MB / 1.236 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5659, allocations: 0.8773 MB / 1.237 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/0.5667, allocations: 0.6072 MB / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.5674, allocations: 0.6534 MB / 1.238 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.5676, allocations: 156 kB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008654/0.5685, allocations: 0.4918 MB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.5688, allocations: 374.7 kB / 1.239 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.5694, allocations: 0.7385 MB / 1.24 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.5715, allocations: 1.982 MB / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5716, allocations: 0 / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5716, allocations: 0 / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.59e-05/0.5716, allocations: 0 / 1.241 GB, free: 9.387 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002838/0.5744, allocations: 1.72 MB / 1.243 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5745, allocations: 8.031 kB / 1.243 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009242/0.5754, allocations: 219 kB / 1.243 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.5766, allocations: 0.8443 MB / 1.244 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.5767, allocations: 98.33 kB / 1.244 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5769, allocations: 116 kB / 1.244 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.5789, allocations: 1.202 MB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.579, allocations: 4 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5791, allocations: 44 kB / 1.246 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.5791, allocations: 32 kB / 1.246 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.5812, allocations: 1.285 MB / 1.247 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5803/1.162, allocations: 3.735 MB / 1.251 GB, free: 173 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/1.163, allocations: 0.8585 MB / 1.251 GB, free: 173 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/1.164, allocations: 325.5 kB / 1.252 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.781e-05/1.164, allocations: 34.78 kB / 1.252 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/1.165, allocations: 0.5132 MB / 1.252 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 3.416e-06/1.165, allocations: 0 / 1.252 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003551/1.169, allocations: 1.287 MB / 1.254 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/1.169, allocations: 194.8 kB / 1.254 GB, free: 172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.17, allocations: 0.7366 MB / 1.254 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/1.17, allocations: 42.48 kB / 1.254 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/1.17, allocations: 0.5153 MB / 1.255 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.17, allocations: 283.4 kB / 1.255 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/1.171, allocations: 174.2 kB / 1.255 GB, free: 171 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/1.171, allocations: 338.6 kB / 1.256 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/1.171, allocations: 295.4 kB / 1.256 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/1.172, allocations: 393 kB / 1.256 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.173, allocations: 0.6591 MB / 1.257 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.173, allocations: 0.5625 kB / 1.257 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002087/1.175, allocations: 0.9272 MB / 1.258 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.175, allocations: 8.062 kB / 1.258 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.175, allocations: 1.125 kB / 1.258 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/1.176, allocations: 87.67 kB / 1.258 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/1.177, allocations: 175.8 kB / 1.258 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/1.179, allocations: 1.643 MB / 1.26 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/1.18, allocations: 104.3 kB / 1.26 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/1.18, allocations: 36.89 kB / 1.26 GB, free: 168.2 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: 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 (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.0005377/1.18, allocations: 303.7 kB / 1.26 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.18, allocations: 94.14 kB / 1.26 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/1.183, allocations: 1.131 MB / 1.261 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.183, allocations: 10.48 kB / 1.261 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.183, allocations: 0.8438 kB / 1.261 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.183, allocations: 7.078 kB / 1.261 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.184, allocations: 1.052 MB / 1.262 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/1.184, allocations: 0 / 1.262 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/1.185, allocations: 155.4 kB / 1.263 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/1.185, allocations: 66.03 kB / 1.263 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/1.185, allocations: 31.61 kB / 1.263 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/1.187, allocations: 1.664 MB / 1.264 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.187, allocations: 3.938 kB / 1.264 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.189, allocations: 0.9779 MB / 1.265 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/1.189, allocations: 295.2 kB / 1.266 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.189, allocations: 16.22 kB / 1.266 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/1.19, allocations: 81.31 kB / 1.266 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.19, allocations: 69.98 kB / 1.266 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/1.19, allocations: 37.09 kB / 1.266 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006317/1.191, allocations: 0.5117 MB / 1.266 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.191, allocations: 1.125 kB / 1.266 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009139/1.192, allocations: 385.6 kB / 1.267 GB, free: 164.4 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: 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 (98): * Single equations (assignments): 92 * 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.001834/1.193, allocations: 0.6063 MB / 1.267 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002467/1.196, allocations: 1.112 MB / 1.268 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.196, allocations: 192 / 1.268 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009089/1.197, allocations: 0.5364 MB / 1.269 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.198, allocations: 336.4 kB / 1.269 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/1.202, allocations: 2.539 MB / 1.272 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/1.202, allocations: 1.106 MB / 1.273 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001022/1.203, allocations: 301.9 kB / 1.273 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.204, allocations: 110.7 kB / 1.273 GB, free: 161 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.204, allocations: 0 / 1.273 GB, free: 161 MB / 0.9981 GB Notification: Performance of Templates: time 0.03193/1.236, allocations: 16.29 MB / 1.289 GB, free: 156.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches