Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002452/0.002452, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 0.4899 GB / 0.7916 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 74.73 kB / 1.149 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3502, allocations: 176.1 MB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01094/0.3611, allocations: 8.508 MB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1907/0.5518, allocations: 155.2 MB / 1.481 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.5534, allocations: 27.81 kB / 1.481 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009933/0.5544, allocations: 332.6 kB / 1.481 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.5574, allocations: 0.8837 MB / 1.482 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.5607, allocations: 1.391 MB / 1.484 GB, free: 11.77 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.5648, allocations: 3.021 MB / 1.487 GB, free: 8.738 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.5665, allocations: 1.016 MB / 1.488 GB, free: 7.656 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.5685, allocations: 1.25 MB / 1.489 GB, free: 6.402 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.5702, allocations: 1.358 MB / 1.49 GB, free: 5.039 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004554/0.5707, allocations: 324 kB / 1.49 GB, free: 4.723 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.5721, allocations: 0.7417 MB / 1.491 GB, free: 3.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.5727, allocations: 0.701 MB / 1.492 GB, free: 3.277 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.5742, allocations: 1.345 MB / 1.493 GB, free: 1.926 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005776/0.58, allocations: 3.717 MB / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.58, allocations: 0 / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.954e-06/0.58, allocations: 0 / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001042/0.5801, allocations: 0 / 1.497 GB, free: 14.2 MB / 1.201 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.007317/0.5874, allocations: 2.936 MB / 1.5 GB, free: 11.18 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5875, allocations: 11.98 kB / 1.5 GB, free: 11.17 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/0.6059, allocations: 2.309 MB / 1.502 GB, free: 8.855 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.6091, allocations: 1.306 MB / 1.503 GB, free: 7.5 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.6092, allocations: 168.5 kB / 1.503 GB, free: 7.332 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/0.6098, allocations: 224 kB / 1.504 GB, free: 7.113 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.6199, allocations: 3.282 MB / 1.507 GB, free: 3.738 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.6199, allocations: 0 / 1.507 GB, free: 3.738 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003374/0.6203, allocations: 95.98 kB / 1.507 GB, free: 3.645 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.6203, allocations: 56 kB / 1.507 GB, free: 3.59 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.6345, allocations: 4.201 MB / 1.511 GB, free: 15.37 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.6526, allocations: 8.14 MB / 1.519 GB, free: 6.934 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00961/0.6622, allocations: 2.708 MB / 1.522 GB, free: 4.219 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/0.6673, allocations: 1.358 MB / 1.523 GB, free: 2.859 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008826/0.6682, allocations: 0.5075 MB / 1.523 GB, free: 2.262 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005911/0.6741, allocations: 1.844 MB / 1.525 GB, free: 408 kB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 4.728e-06/0.6741, allocations: 4 kB / 1.525 GB, free: 404 kB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.01645/0.6905, allocations: 4.479 MB / 1.53 GB, free: 11.89 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.6907, allocations: 209.9 kB / 1.53 GB, free: 11.64 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.6922, allocations: 0.9772 MB / 1.531 GB, free: 10.64 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003845/0.6926, allocations: 61.7 kB / 1.531 GB, free: 10.58 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007847/0.6934, allocations: 0.764 MB / 1.532 GB, free: 9.805 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009909/0.6944, allocations: 0.7126 MB / 1.532 GB, free: 9.086 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008228/0.6952, allocations: 391.3 kB / 1.533 GB, free: 8.699 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6953, allocations: 305.1 kB / 1.533 GB, free: 8.398 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/0.6998, allocations: 1.253 MB / 1.534 GB, free: 7.145 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00489/0.7047, allocations: 1.441 MB / 1.536 GB, free: 5.676 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009498/0.7142, allocations: 2.614 MB / 1.538 GB, free: 3.043 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.7142, allocations: 0 / 1.538 GB, free: 3.043 MB / 1.232 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0115/0.7257, allocations: 3.133 MB / 1.541 GB, free: 15.9 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.7258, allocations: 8 kB / 1.541 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7258, allocations: 4 kB / 1.541 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/0.7264, allocations: 88.83 kB / 1.541 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/0.7304, allocations: 0.6045 MB / 1.542 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.7329, allocations: 1.638 MB / 1.543 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/0.7365, allocations: 370.5 kB / 1.544 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005306/0.7371, allocations: 103.9 kB / 1.544 GB, free: 12.94 MB / 1.248 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.001557/0.7386, allocations: 442.4 kB / 1.544 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007652/0.7394, allocations: 167 kB / 1.545 GB, free: 12.34 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.7531, allocations: 3.709 MB / 1.548 GB, free: 8.609 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.7532, allocations: 20 kB / 1.548 GB, free: 8.59 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.7532, allocations: 4 kB / 1.548 GB, free: 8.586 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/0.7532, allocations: 12.06 kB / 1.548 GB, free: 8.574 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.7574, allocations: 2.491 MB / 1.551 GB, free: 6.039 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.7574, allocations: 0 / 1.551 GB, free: 6.039 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003853/0.7613, allocations: 0.5655 MB / 1.551 GB, free: 5.473 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.7618, allocations: 84.72 kB / 1.551 GB, free: 5.387 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/0.7622, allocations: 71.91 kB / 1.551 GB, free: 5.316 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.7645, allocations: 1.666 MB / 1.553 GB, free: 3.508 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7645, allocations: 0 / 1.553 GB, free: 3.508 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.7762, allocations: 3.219 MB / 1.556 GB, free: 268 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.7774, allocations: 0.5538 MB / 1.557 GB, free: 15.69 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/0.7779, allocations: 59.81 kB / 1.557 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/0.7811, allocations: 267.8 kB / 1.557 GB, free: 15.37 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003564/0.7814, allocations: 153.8 kB / 1.557 GB, free: 15.22 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/0.7817, allocations: 95.91 kB / 1.557 GB, free: 15.12 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001213/0.7829, allocations: 0.7159 MB / 1.558 GB, free: 14.4 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7829, allocations: 0 / 1.558 GB, free: 14.4 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002044/0.785, allocations: 0.6859 MB / 1.559 GB, free: 13.71 MB / 1.264 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.002257/0.7872, allocations: 0.6572 MB / 1.559 GB, free: 13.23 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01055/0.7978, allocations: 3.026 MB / 1.562 GB, free: 10.19 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.7978, allocations: 7.938 kB / 1.562 GB, free: 10.18 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005467/0.8032, allocations: 1.622 MB / 1.564 GB, free: 8.547 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.8055, allocations: 397.6 kB / 1.564 GB, free: 8.18 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.8159, allocations: 4.147 MB / 1.568 GB, free: 3.996 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.8175, allocations: 1.442 MB / 1.57 GB, free: 2.516 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.004598/0.8221, allocations: 0.5757 MB / 1.57 GB, free: 1.934 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/0.8238, allocations: 239.2 kB / 1.57 GB, free: 1.699 MB / 1.264 GB Notification: Performance of SimCode: time 1.653e-06/0.8238, allocations: 0 / 1.57 GB, free: 1.699 MB / 1.264 GB Notification: Performance of Templates: time 0.05646/0.8802, allocations: 32.28 MB / 1.602 GB, free: 1.621 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.074959642253816]