Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001199/0.001203, 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.001472/0.001472, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.098/2.098, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.14 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4973, allocations: 140.4 MB / 0.9497 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00469/0.502, allocations: 4.732 MB / 0.9543 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1405/0.6425, allocations: 150.7 MB / 1.102 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/0.6434, allocations: 23.88 kB / 1.102 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.644, allocations: 190.2 kB / 1.102 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.6457, allocations: 0.52 MB / 1.102 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6475, allocations: 0.8603 MB / 1.103 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.6488, allocations: 1.445 MB / 1.104 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000976/0.6498, allocations: 0.9118 MB / 1.105 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.6503, allocations: 0.5799 MB / 1.106 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.6509, allocations: 0.6339 MB / 1.107 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.6511, allocations: 155.9 kB / 1.107 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.6518, allocations: 491.7 kB / 1.107 GB, free: 80 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.6521, allocations: 374.9 kB / 1.108 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.6526, allocations: 0.6956 MB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.6541, allocations: 1.924 MB / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6541, allocations: 0 / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6541, allocations: 0 / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.6542, allocations: 0 / 1.11 GB, free: 13.08 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002451/0.6566, allocations: 1.686 MB / 1.112 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.6567, allocations: 8.031 kB / 1.112 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.6568, allocations: 185.8 kB / 1.112 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.6578, allocations: 223 kB / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.6588, allocations: 0.8442 MB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.6589, allocations: 90.41 kB / 1.113 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.6591, allocations: 116 kB / 1.113 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.6607, allocations: 1.21 MB / 1.114 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6608, allocations: 0 / 1.114 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.6609, allocations: 55.98 kB / 1.114 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.6609, allocations: 28 kB / 1.114 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.6628, allocations: 1.285 MB / 1.116 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.6669, allocations: 3.157 MB / 1.119 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.6684, allocations: 0.8666 MB / 1.12 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.6689, allocations: 322.6 kB / 1.12 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.669, allocations: 40.59 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008846/0.6699, allocations: 0.5081 MB / 1.12 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/0.6699, allocations: 0 / 1.12 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003065/0.6729, allocations: 1.274 MB / 1.122 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.673, allocations: 196.9 kB / 1.122 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.6738, allocations: 0.7353 MB / 1.123 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.6739, allocations: 41.81 kB / 1.123 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.6742, allocations: 0.5231 MB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.6744, allocations: 279.9 kB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.6747, allocations: 158.5 kB / 1.124 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6748, allocations: 337.9 kB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.6753, allocations: 265.9 kB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.6759, allocations: 386.5 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.6769, allocations: 0.6359 MB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6769, allocations: 0 / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001795/0.6787, allocations: 0.8643 MB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6788, allocations: 13.5 kB / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6788, allocations: 0 / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.6794, allocations: 88.8 kB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.68, allocations: 163.8 kB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.6819, allocations: 1.626 MB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.6825, allocations: 107.2 kB / 1.128 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.6826, allocations: 27.98 kB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003892/0.683, allocations: 301.5 kB / 1.128 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.6831, allocations: 94.78 kB / 1.128 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.6854, allocations: 1.129 MB / 1.129 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.6854, allocations: 8 kB / 1.129 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.6854, allocations: 0 / 1.129 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6854, allocations: 7.969 kB / 1.129 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.6865, allocations: 1.059 MB / 1.13 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6865, allocations: 3.938 kB / 1.13 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.6871, allocations: 155.8 kB / 1.131 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/0.6875, allocations: 68.78 kB / 1.131 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.6876, allocations: 31.92 kB / 1.131 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6893, allocations: 1.674 MB / 1.132 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6893, allocations: 0 / 1.132 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.6911, allocations: 0.9785 MB / 1.133 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.6914, allocations: 287.6 kB / 1.134 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.6916, allocations: 23.92 kB / 1.134 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.6922, allocations: 71.81 kB / 1.134 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.6923, allocations: 72.89 kB / 1.134 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.6924, allocations: 35.98 kB / 1.134 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005615/0.693, allocations: 0.5185 MB / 1.134 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.693, allocations: 0 / 1.134 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007102/0.6937, allocations: 358.8 kB / 1.135 GB, free: 3.094 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003188/0.6969, allocations: 2.037 MB / 1.137 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.6991, allocations: 1.062 MB / 1.138 GB, free: 136 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6991, allocations: 0 / 1.138 GB, free: 136 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000883/0.7, allocations: 0.5511 MB / 1.138 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.701, allocations: 306.9 kB / 1.138 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.7117, allocations: 7.455 MB / 1.146 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.7123, allocations: 1.114 MB / 1.147 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007398/0.7131, allocations: 271.4 kB / 1.147 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/0.7136, allocations: 483.2 kB / 1.148 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.7136, allocations: 0 / 1.148 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/0.758, allocations: 23.05 MB / 1.17 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.98, allocations: 11.92 kB / 1.17 GB, free: 15.02 MB / 0.9356 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 Error: Could not read variable HDifWal.H in file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " Variables in the reference:time,HDifRoo.H,HDifWal.H,HDifFlo.H Variables in the result:time,HDifFlo.H,HDifFlo.add.u1,HDifFlo.add.u2,HDifRoo.H,HDifRoo.add.u1