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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001499/0.001499, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001548/0.001548, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.55 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3256, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0088/0.3344, allocations: 6.477 MB / 0.9574 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8488/1.183, allocations: 151.6 MB / 1.105 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/1.185, allocations: 23.31 kB / 1.106 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009183/1.186, allocations: 260.8 kB / 1.106 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/1.189, allocations: 0.6915 MB / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004339/1.194, allocations: 1.367 MB / 1.108 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00502/1.199, allocations: 2.668 MB / 1.11 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00321/1.202, allocations: 1.595 MB / 1.112 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/1.205, allocations: 1.137 MB / 1.113 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/1.207, allocations: 1.296 MB / 1.114 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/1.209, allocations: 324.3 kB / 1.115 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/1.211, allocations: 0.7073 MB / 1.115 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009613/1.212, allocations: 0.6972 MB / 1.116 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002024/1.214, allocations: 1.269 MB / 1.117 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00585/1.22, allocations: 3.555 MB / 1.121 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.22, allocations: 1.312 kB / 1.121 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.954e-06/1.22, allocations: 0 / 1.121 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000131/1.22, allocations: 0 / 1.121 GB, free: 18.5 MB / 0.8731 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.009083/1.229, allocations: 2.773 MB / 1.123 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.229, allocations: 13.22 kB / 1.123 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/1.245, allocations: 2.11 MB / 1.125 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/1.248, allocations: 1.287 MB / 1.127 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/1.249, allocations: 170.7 kB / 1.127 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00091/1.249, allocations: 218.7 kB / 1.127 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/1.261, allocations: 3.291 MB / 1.13 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/1.261, allocations: 0 / 1.13 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/1.261, allocations: 91.62 kB / 1.13 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-05/1.261, allocations: 55.34 kB / 1.13 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/1.276, allocations: 4.201 MB / 1.135 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/1.298, allocations: 7.23 MB / 1.142 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009318/1.307, allocations: 2.883 MB / 1.144 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004816/1.312, allocations: 1.491 MB / 1.146 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008743/1.313, allocations: 0.504 MB / 1.146 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00555/1.319, allocations: 1.844 MB / 1.148 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 5.079e-06/1.319, allocations: 0 / 1.148 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.01515/1.334, allocations: 4.457 MB / 1.153 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/1.334, allocations: 215.7 kB / 1.153 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.336, allocations: 0.946 MB / 1.154 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005152/1.337, allocations: 67.91 kB / 1.154 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008417/1.338, allocations: 0.7307 MB / 1.154 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000905/1.338, allocations: 0.6804 MB / 1.155 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008809/1.339, allocations: 392.2 kB / 1.155 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.34, allocations: 307.8 kB / 1.156 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/1.344, allocations: 1.257 MB / 1.157 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004131/1.348, allocations: 1.435 MB / 1.158 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007943/1.356, allocations: 2.611 MB / 1.161 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.356, allocations: 0 / 1.161 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009951/1.366, allocations: 3.122 MB / 1.164 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/1.366, allocations: 5.281 kB / 1.164 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.366, allocations: 6.469 kB / 1.164 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/1.366, allocations: 84.17 kB / 1.164 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/1.37, allocations: 0.6047 MB / 1.165 GB, free: 288 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.373, allocations: 1.631 MB / 1.166 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003816/1.376, allocations: 371.4 kB / 1.167 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005374/1.377, allocations: 96.61 kB / 1.167 GB, free: 14.43 MB / 0.8887 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.001495/1.378, allocations: 440.8 kB / 1.167 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/1.379, allocations: 154.8 kB / 1.167 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.39, allocations: 3.718 MB / 1.171 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.39, allocations: 22.59 kB / 1.171 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.39, allocations: 1.812 kB / 1.171 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/1.39, allocations: 11.95 kB / 1.171 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/1.394, allocations: 2.448 MB / 1.173 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.394, allocations: 0 / 1.173 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003406/1.397, allocations: 0.5573 MB / 1.174 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/1.398, allocations: 83.34 kB / 1.174 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002809/1.398, allocations: 76.12 kB / 1.174 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/1.4, allocations: 1.66 MB / 1.176 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.4, allocations: 0 / 1.176 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009805/1.41, allocations: 3.211 MB / 1.179 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.412, allocations: 0.5444 MB / 1.179 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/1.412, allocations: 60.7 kB / 1.179 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.415, allocations: 269.7 kB / 1.18 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/1.415, allocations: 148.3 kB / 1.18 GB, free: 6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.415, allocations: 95.34 kB / 1.18 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001134/1.417, allocations: 0.6936 MB / 1.181 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.11e-07/1.417, allocations: 0 / 1.181 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002356/1.419, allocations: 0.649 MB / 1.181 GB, free: 5.371 MB / 0.8887 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.001952/1.421, allocations: 0.6658 MB / 1.182 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009877/1.431, allocations: 3.16 MB / 1.185 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.431, allocations: 4.062 kB / 1.185 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004991/1.436, allocations: 1.751 MB / 1.187 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.438, allocations: 371.8 kB / 1.187 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.449, allocations: 4.164 MB / 1.191 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.45, allocations: 1.434 MB / 1.192 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003602/1.454, allocations: 0.5636 MB / 1.193 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.455, allocations: 231.2 kB / 1.193 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of SimCode: time 1.582e-06/1.455, allocations: 0 / 1.193 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.05471/1.51, allocations: 30.2 MB / 1.223 GB, free: 15.51 MB / 0.9356 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches