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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.159/1.159, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.03/2.03, allocations: 390.2 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4707, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00572/0.4764, allocations: 6.464 MB / 0.956 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1313/0.6078, allocations: 151.6 MB / 1.104 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009819/0.6088, allocations: 19.94 kB / 1.104 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.6095, allocations: 261.2 kB / 1.104 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.6116, allocations: 0.6857 MB / 1.105 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.614, allocations: 1.361 MB / 1.106 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.6163, allocations: 2.653 MB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.618, allocations: 1.596 MB / 1.111 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.6191, allocations: 1.133 MB / 1.112 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.6204, allocations: 1.28 MB / 1.113 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004724/0.6209, allocations: 328 kB / 1.113 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.6219, allocations: 0.6793 MB / 1.114 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004736/0.6224, allocations: 0.6971 MB / 1.115 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008548/0.6233, allocations: 1.275 MB / 1.116 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.6257, allocations: 3.486 MB / 1.119 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6257, allocations: 3.938 kB / 1.119 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.986e-06/0.6258, allocations: 0 / 1.119 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.6258, allocations: 3.938 kB / 1.119 GB, free: 3.57 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.004826/0.6306, allocations: 2.765 MB / 1.122 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.6307, allocations: 12.03 kB / 1.122 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003075/0.631, allocations: 316.8 kB / 1.122 GB, free: 400 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.6455, allocations: 2.116 MB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.647, allocations: 1.266 MB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.6471, allocations: 168.5 kB / 1.126 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.6475, allocations: 220 kB / 1.126 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00714/0.6546, allocations: 3.282 MB / 1.129 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.6546, allocations: 4 kB / 1.129 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.6549, allocations: 92 kB / 1.129 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.6549, allocations: 52 kB / 1.129 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.6664, allocations: 4.205 MB / 1.133 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.6789, allocations: 7.316 MB / 1.14 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008293/0.6872, allocations: 2.872 MB / 1.143 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003966/0.6912, allocations: 1.489 MB / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.6918, allocations: 0.5113 MB / 1.145 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00446/0.6963, allocations: 1.839 MB / 1.147 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 3.246e-06/0.6963, allocations: 0 / 1.147 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01347/0.7098, allocations: 4.466 MB / 1.151 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.7099, allocations: 209.9 kB / 1.152 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.7109, allocations: 0.949 MB / 1.153 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.711, allocations: 65.7 kB / 1.153 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.7115, allocations: 0.7427 MB / 1.153 GB, free: 68 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.712, allocations: 0.6777 MB / 1.154 GB, free: 15.38 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000628/0.7126, allocations: 375.3 kB / 1.154 GB, free: 15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.7127, allocations: 305.1 kB / 1.155 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/0.7165, allocations: 1.234 MB / 1.156 GB, free: 13.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004021/0.7206, allocations: 1.437 MB / 1.157 GB, free: 11.99 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007746/0.7283, allocations: 2.583 MB / 1.16 GB, free: 9.391 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7284, allocations: 112 / 1.16 GB, free: 9.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009054/0.7374, allocations: 3.085 MB / 1.163 GB, free: 6.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7374, allocations: 4 kB / 1.163 GB, free: 6.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7375, allocations: 0 / 1.163 GB, free: 6.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.738, allocations: 84.84 kB / 1.163 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/0.7414, allocations: 0.5928 MB / 1.163 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.7431, allocations: 1.63 MB / 1.165 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.7459, allocations: 366 kB / 1.165 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.7461, allocations: 95.89 kB / 1.165 GB, free: 3.383 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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 (231): * Single equations (assignments): 230 * 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.0006771/0.7467, allocations: 439.8 kB / 1.166 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.7471, allocations: 150.1 kB / 1.166 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.7577, allocations: 3.72 MB / 1.17 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.7577, allocations: 28 kB / 1.17 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7577, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.7577, allocations: 11.95 kB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.76, allocations: 2.452 MB / 1.172 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.76, allocations: 3.938 kB / 1.172 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/0.7633, allocations: 0.5539 MB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.7638, allocations: 80.77 kB / 1.173 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/0.7639, allocations: 75.91 kB / 1.173 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.7655, allocations: 1.658 MB / 1.174 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7655, allocations: 4.062 kB / 1.174 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009067/0.7746, allocations: 3.218 MB / 1.178 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.7753, allocations: 0.5452 MB / 1.178 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.7756, allocations: 51.84 kB / 1.178 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/0.7782, allocations: 267.7 kB / 1.178 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.7785, allocations: 153.7 kB / 1.179 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/0.7787, allocations: 91.91 kB / 1.179 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007599/0.7795, allocations: 0.7036 MB / 1.179 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7795, allocations: 4 kB / 1.179 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001211/0.7807, allocations: 0.627 MB / 1.18 GB, free: 4.285 MB / 0.9356 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.01048/0.7912, allocations: 4.329 MB / 1.184 GB, free: 116 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0121/0.8033, allocations: 3.639 MB / 1.188 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8033, allocations: 0 / 1.188 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004552/0.8079, allocations: 1.759 MB / 1.189 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.8092, allocations: 364.7 kB / 1.19 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/0.8442, allocations: 16.96 MB / 1.206 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/0.8451, allocations: 1.422 MB / 1.208 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002786/0.8478, allocations: 0.5714 MB / 1.208 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.8493, allocations: 0.8779 MB / 1.209 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.8493, allocations: 0 / 1.209 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.382/1.231, allocations: 41.61 MB / 1.25 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.95, allocations: 8.656 kB / 1.25 GB, free: 282.5 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=18316800.000000 File[1]=18230400.000000 " Variables in the reference:time,HDifRoo.H,HDifWal.H,HDifFlo.H Variables in the result:time,HDifFlo.H,HDifRoo.H,HDifWal.H,weaBus.HDifHor,weaBus.HDirNor