Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002446/0.002446, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.196/3.196, allocations: 0.4893 GB / 0.7884 GB, free: 33.04 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 65.83 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.389, allocations: 174.9 MB / 1.316 GB, free: 9.789 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01042/0.3994, allocations: 8.516 MB / 1.324 GB, free: 1.234 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1916/0.5911, allocations: 152.4 MB / 1.473 GB, free: 8.203 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.593, allocations: 31.75 kB / 1.473 GB, free: 8.172 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.001094/0.5941, allocations: 328.7 kB / 1.474 GB, free: 7.848 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.003411/0.5975, allocations: 0.8573 MB / 1.474 GB, free: 6.988 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.6013, allocations: 1.412 MB / 1.476 GB, free: 5.582 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.004758/0.6061, allocations: 2.994 MB / 1.479 GB, free: 2.578 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.6079, allocations: 1.009 MB / 1.48 GB, free: 1.504 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.6101, allocations: 1.223 MB / 1.481 GB, free: 284 kB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.6122, allocations: 1.358 MB / 1.482 GB, free: 14.91 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 0.0007518/0.613, allocations: 324 kB / 1.482 GB, free: 14.59 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.6149, allocations: 0.7065 MB / 1.483 GB, free: 13.89 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006819/0.6156, allocations: 0.6971 MB / 1.484 GB, free: 13.19 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.001404/0.617, allocations: 1.338 MB / 1.485 GB, free: 11.85 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.00469/0.6217, allocations: 3.682 MB / 1.489 GB, free: 8.152 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6217, allocations: 0 / 1.489 GB, free: 8.152 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.6217, allocations: 0 / 1.489 GB, free: 8.152 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 6e-05/0.6217, allocations: 0 / 1.489 GB, free: 8.152 MB / 1.186 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 578
 * Number of variables: 578
Notification: Performance of Generate backend data structure: time 0.006492/0.6282, allocations: 2.826 MB / 1.491 GB, free: 5.266 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6283, allocations: 8.031 kB / 1.492 GB, free: 5.258 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.643, allocations: 2.121 MB / 1.494 GB, free: 3.133 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.6459, allocations: 1.223 MB / 1.495 GB, free: 1.875 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.6461, allocations: 172.5 kB / 1.495 GB, free: 1.703 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.6465, allocations: 220 kB / 1.495 GB, free: 1.488 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.008496/0.655, allocations: 3.286 MB / 1.498 GB, free: 14.11 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.655, allocations: 0 / 1.498 GB, free: 14.11 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.6553, allocations: 92 kB / 1.498 GB, free: 14.02 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.6553, allocations: 52 kB / 1.498 GB, free: 13.97 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.6677, allocations: 4.205 MB / 1.503 GB, free: 9.746 MB / 1.201 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.6853, allocations: 8.06 MB / 1.51 GB, free: 1.387 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.008454/0.6937, allocations: 2.716 MB / 1.513 GB, free: 14.66 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.698, allocations: 1.352 MB / 1.514 GB, free: 13.3 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006701/0.6986, allocations: 134 kB / 1.515 GB, free: 13.18 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005389/0.704, allocations: 1.851 MB / 1.516 GB, free: 11.3 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=213): time 5.941e-06/0.704, allocations: 0 / 1.516 GB, free: 11.3 MB / 1.217 GB
Notification: Performance of matching and sorting (n=213): time 0.01573/0.7198, allocations: 4.407 MB / 1.521 GB, free: 6.891 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.72, allocations: 205.9 kB / 1.521 GB, free: 6.645 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.722, allocations: 0.9409 MB / 1.522 GB, free: 5.684 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 0.0004105/0.7224, allocations: 69.7 kB / 1.522 GB, free: 5.609 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.7234, allocations: 0.7562 MB / 1.523 GB, free: 4.844 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009748/0.7244, allocations: 0.7165 MB / 1.523 GB, free: 4.121 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.7254, allocations: 399.2 kB / 1.524 GB, free: 3.727 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001404/0.7255, allocations: 301.2 kB / 1.524 GB, free: 3.43 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/0.7297, allocations: 1.261 MB / 1.525 GB, free: 2.168 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004305/0.734, allocations: 1.441 MB / 1.527 GB, free: 0.6992 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008178/0.7422, allocations: 2.61 MB / 1.529 GB, free: 14.07 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.7422, allocations: 3.938 kB / 1.529 GB, free: 14.07 MB / 1.232 GB
Notification: Performance of matching and sorting (n=241) (initialization): time 0.01012/0.7523, allocations: 3.133 MB / 1.532 GB, free: 10.92 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.7523, allocations: 8 kB / 1.532 GB, free: 10.91 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7523, allocations: 0 / 1.532 GB, free: 10.91 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.753, allocations: 84.84 kB / 1.532 GB, free: 10.83 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.7566, allocations: 0.6045 MB / 1.533 GB, free: 10.22 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.7589, allocations: 1.527 MB / 1.534 GB, free: 8.578 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/0.7623, allocations: 374.5 kB / 1.535 GB, free: 8.211 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004539/0.7627, allocations: 95.89 kB / 1.535 GB, free: 8.117 MB / 1.232 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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 (239):
 * Single equations (assignments): 238
 * 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.001473/0.7642, allocations: 444.9 kB / 1.535 GB, free: 7.676 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006885/0.7649, allocations: 163 kB / 1.535 GB, free: 7.516 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.7766, allocations: 3.712 MB / 1.539 GB, free: 3.785 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.7766, allocations: 24 kB / 1.539 GB, free: 3.762 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7766, allocations: 0 / 1.539 GB, free: 3.762 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.7766, allocations: 15.95 kB / 1.539 GB, free: 3.746 MB / 1.232 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.7804, allocations: 2.416 MB / 1.541 GB, free: 1.293 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.7804, allocations: 0 / 1.541 GB, free: 1.293 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/0.7838, allocations: 0.5694 MB / 1.542 GB, free: 0.7227 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004884/0.7843, allocations: 76.8 kB / 1.542 GB, free: 0.6445 MB / 1.232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/0.7846, allocations: 75.91 kB / 1.542 GB, free: 0.5703 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.7868, allocations: 1.547 MB / 1.544 GB, free: 14.9 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7868, allocations: 4.062 kB / 1.544 GB, free: 14.9 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.7971, allocations: 3.219 MB / 1.547 GB, free: 11.65 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.7985, allocations: 492.1 kB / 1.547 GB, free: 11.17 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/0.799, allocations: 55.83 kB / 1.547 GB, free: 11.12 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/0.802, allocations: 271.7 kB / 1.548 GB, free: 10.85 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/0.8023, allocations: 153.7 kB / 1.548 GB, free: 10.7 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/0.8026, allocations: 99.91 kB / 1.548 GB, free: 10.61 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.001247/0.8038, allocations: 0.6958 MB / 1.549 GB, free: 9.902 MB / 1.248 GB
Notification: Performance of sort global known variables: time 9e-08/0.8038, allocations: 0 / 1.549 GB, free: 9.902 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.002285/0.8061, allocations: 0.6858 MB / 1.549 GB, free: 9.215 MB / 1.248 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,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext)
 * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (231):
 * Single equations (assignments): 222
 * 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.00254/0.8087, allocations: 0.6648 MB / 1.55 GB, free: 8.723 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.009813/0.8185, allocations: 3.03 MB / 1.553 GB, free: 5.68 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.8185, allocations: 0 / 1.553 GB, free: 5.68 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.005069/0.8236, allocations: 1.638 MB / 1.554 GB, free: 4.031 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.8258, allocations: 388.8 kB / 1.555 GB, free: 3.668 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009497/0.8353, allocations: 4.131 MB / 1.559 GB, free: 15.5 MB / 1.264 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.8365, allocations: 1.426 MB / 1.56 GB, free: 14.04 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.003517/0.84, allocations: 0.5795 MB / 1.561 GB, free: 13.45 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.8413, allocations: 235.2 kB / 1.561 GB, free: 13.22 MB / 1.264 GB
Notification: Performance of SimCode: time 1.212e-06/0.8413, allocations: 3.938 kB / 1.561 GB, free: 13.21 MB / 1.264 GB
Notification: Performance of Templates: time 0.0626/0.9039, allocations: 33.26 MB / 1.593 GB, free: 12.14 MB / 1.295 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 11.496196392923594]