Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007878/0.007878, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001286/0.001286, allocations: 187 kB / 16.67 MB, free: 5.883 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 62.06 kB / 0.9508 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.307, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008372/0.3154, allocations: 6.472 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.4868, allocations: 151.6 MB / 1.242 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.4889, allocations: 23.88 kB / 1.242 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.4903, allocations: 249.3 kB / 1.243 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.4933, allocations: 0.7029 MB / 1.243 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.4971, allocations: 1.363 MB / 1.245 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.5006, allocations: 2.668 MB / 1.247 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.5029, allocations: 1.584 MB / 1.249 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.5047, allocations: 1.137 MB / 1.25 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.5064, allocations: 1.295 MB / 1.251 GB, free: 9.707 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004805/0.5069, allocations: 328 kB / 1.251 GB, free: 9.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.5081, allocations: 0.7027 MB / 1.252 GB, free: 8.684 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005397/0.5087, allocations: 0.6972 MB / 1.253 GB, free: 7.984 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.5098, allocations: 1.267 MB / 1.254 GB, free: 6.711 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.5134, allocations: 3.567 MB / 1.257 GB, free: 3.133 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5134, allocations: 0 / 1.257 GB, free: 3.133 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5134, allocations: 0 / 1.257 GB, free: 3.133 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.834e-05/0.5135, allocations: 0 / 1.257 GB, free: 3.133 MB / 1.014 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.006641/0.5201, allocations: 2.778 MB / 1.26 GB, free: 284 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5202, allocations: 12.03 kB / 1.26 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6285/1.149, allocations: 2.102 MB / 1.262 GB, free: 172.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/1.152, allocations: 1.288 MB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/1.152, allocations: 167 kB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005007/1.152, allocations: 219.8 kB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/1.163, allocations: 3.279 MB / 1.267 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/1.163, allocations: 0 / 1.267 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/1.164, allocations: 96.64 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/1.164, allocations: 55 kB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/1.18, allocations: 4.209 MB / 1.271 GB, free: 170.1 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/1.199, allocations: 7.229 MB / 1.278 GB, free: 166.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/1.21, allocations: 2.881 MB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004941/1.215, allocations: 1.485 MB / 1.283 GB, free: 165.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007212/1.216, allocations: 0.5068 MB / 1.283 GB, free: 164.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005498/1.221, allocations: 1.852 MB / 1.285 GB, free: 164.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 6.523e-06/1.221, allocations: 0 / 1.285 GB, free: 164.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01565/1.237, allocations: 4.458 MB / 1.289 GB, free: 161.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.237, allocations: 215 kB / 1.29 GB, free: 161.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.239, allocations: 0.9426 MB / 1.29 GB, free: 161.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003753/1.239, allocations: 63.2 kB / 1.291 GB, free: 161.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/1.24, allocations: 0.7411 MB / 1.291 GB, free: 160.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005188/1.24, allocations: 0.679 MB / 1.292 GB, free: 159.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007421/1.241, allocations: 396.4 kB / 1.292 GB, free: 159.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/1.241, allocations: 310.2 kB / 1.293 GB, free: 159.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.245, allocations: 1.251 MB / 1.294 GB, free: 158.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004798/1.25, allocations: 1.436 MB / 1.295 GB, free: 157.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008999/1.259, allocations: 2.604 MB / 1.298 GB, free: 156.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.259, allocations: 1.25 kB / 1.298 GB, free: 156.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01077/1.27, allocations: 3.121 MB / 1.301 GB, free: 155 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/1.27, allocations: 10.7 kB / 1.301 GB, free: 155 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.27, allocations: 1.875 kB / 1.301 GB, free: 155 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/1.271, allocations: 85.81 kB / 1.301 GB, free: 155 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/1.274, allocations: 0.6029 MB / 1.301 GB, free: 154.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/1.276, allocations: 1.634 MB / 1.303 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/1.28, allocations: 365.9 kB / 1.303 GB, free: 153 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/1.28, allocations: 99.52 kB / 1.304 GB, free: 153 MB / 1.014 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.001524/1.282, allocations: 452.7 kB / 1.304 GB, free: 152.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/1.282, allocations: 155.6 kB / 1.304 GB, free: 152.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.293, allocations: 3.704 MB / 1.308 GB, free: 150.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.293, allocations: 20.34 kB / 1.308 GB, free: 150.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.293, allocations: 6.906 kB / 1.308 GB, free: 150.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/1.294, allocations: 7.969 kB / 1.308 GB, free: 150.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/1.296, allocations: 2.462 MB / 1.31 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.296, allocations: 0 / 1.31 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/1.3, allocations: 0.5617 MB / 1.311 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.3, allocations: 73.53 kB / 1.311 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/1.301, allocations: 79.91 kB / 1.311 GB, free: 148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.302, allocations: 1.666 MB / 1.312 GB, free: 146.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.302, allocations: 0 / 1.312 GB, free: 146.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009406/1.312, allocations: 3.207 MB / 1.316 GB, free: 143 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.313, allocations: 0.5425 MB / 1.316 GB, free: 142.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/1.313, allocations: 51.78 kB / 1.316 GB, free: 142.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.316, allocations: 275.7 kB / 1.316 GB, free: 142.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/1.316, allocations: 153.7 kB / 1.317 GB, free: 141.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.316, allocations: 95.91 kB / 1.317 GB, free: 141.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000849/1.317, allocations: 0.6919 MB / 1.317 GB, free: 141.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.317, allocations: 0 / 1.317 GB, free: 141.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001759/1.319, allocations: 0.6492 MB / 1.318 GB, free: 140.5 MB / 1.014 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.001444/1.32, allocations: 0.6564 MB / 1.319 GB, free: 140.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009347/1.33, allocations: 3.159 MB / 1.322 GB, free: 136.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.33, allocations: 0 / 1.322 GB, free: 136.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004694/1.334, allocations: 1.755 MB / 1.323 GB, free: 135.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/1.336, allocations: 368.2 kB / 1.324 GB, free: 134.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008716/1.345, allocations: 4.186 MB / 1.328 GB, free: 130.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.346, allocations: 1.426 MB / 1.329 GB, free: 129.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002683/1.348, allocations: 0.5714 MB / 1.33 GB, free: 128.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/1.349, allocations: 239.2 kB / 1.33 GB, free: 128.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.234e-06/1.349, allocations: 0 / 1.33 GB, free: 128.3 MB / 1.014 GB Notification: Performance of Templates: time 0.04108/1.39, allocations: 30.57 MB / 1.36 GB, free: 97.88 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches