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.007867/0.007867, allocations: 95.78 kB / 15.73 MB, free: 6.035 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.001874/0.001874, allocations: 191.7 kB / 16.67 MB, free: 5.965 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.4 MB, free: 4.309 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.177/2.177, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.06 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.235, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00572/0.2408, allocations: 4.735 MB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1405/0.3812, allocations: 150.7 MB / 1.239 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.382, allocations: 19.88 kB / 1.239 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.3826, allocations: 206.1 kB / 1.239 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.3842, allocations: 0.5421 MB / 1.24 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.386, allocations: 0.8563 MB / 1.241 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3872, allocations: 1.456 MB / 1.242 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.3882, allocations: 0.9196 MB / 1.243 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.3889, allocations: 0.576 MB / 1.244 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.3894, allocations: 0.6299 MB / 1.244 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3896, allocations: 156 kB / 1.244 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.3904, allocations: 0.5113 MB / 1.245 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.3907, allocations: 382.8 kB / 1.245 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.3912, allocations: 0.6916 MB / 1.246 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.393, allocations: 1.984 MB / 1.248 GB, free: 13.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.393, allocations: 0 / 1.248 GB, free: 13.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3931, allocations: 0 / 1.248 GB, free: 13.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.3931, allocations: 0 / 1.248 GB, free: 13.02 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002552/0.3956, allocations: 1.728 MB / 1.25 GB, free: 11.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3957, allocations: 12.03 kB / 1.25 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.3959, allocations: 185.8 kB / 1.25 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/0.3968, allocations: 227.8 kB / 1.25 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.398, allocations: 0.8721 MB / 1.251 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.3981, allocations: 90.39 kB / 1.251 GB, free: 9.805 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3982, allocations: 120 kB / 1.251 GB, free: 9.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.4, allocations: 1.202 MB / 1.252 GB, free: 8.422 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.4, allocations: 0 / 1.252 GB, free: 8.422 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.683e-05/0.4001, allocations: 52 kB / 1.252 GB, free: 8.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.4001, allocations: 28 kB / 1.252 GB, free: 8.344 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.402, allocations: 1.289 MB / 1.254 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.4062, allocations: 3.13 MB / 1.257 GB, free: 3.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.4076, allocations: 0.855 MB / 1.257 GB, free: 2.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.4081, allocations: 322.7 kB / 1.258 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-05/0.4082, allocations: 36.59 kB / 1.258 GB, free: 2.625 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008139/0.409, allocations: 0.5174 MB / 1.258 GB, free: 2.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=87): time 2.214e-06/0.4091, allocations: 0 / 1.258 GB, free: 2.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.003019/0.4121, allocations: 1.286 MB / 1.26 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.4122, allocations: 188.9 kB / 1.26 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4614/0.8736, allocations: 0.7287 MB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.8738, allocations: 43.41 kB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/0.8743, allocations: 0.5291 MB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.8745, allocations: 295.8 kB / 1.261 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.8748, allocations: 158.5 kB / 1.261 GB, free: 173.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.8749, allocations: 340.5 kB / 1.262 GB, free: 173.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.8754, allocations: 267.9 kB / 1.262 GB, free: 173.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.8761, allocations: 380.8 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.8772, allocations: 0.6353 MB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8772, allocations: 1.781 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001972/0.8792, allocations: 0.8734 MB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8792, allocations: 14.52 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8792, allocations: 1.656 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.8798, allocations: 80.36 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/0.8805, allocations: 160.7 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.8823, allocations: 1.633 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.883, allocations: 105.5 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.883, allocations: 30.58 kB / 1.266 GB, free: 171.1 MB / 1.014 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.0003829/0.8834, allocations: 293 kB / 1.266 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.8836, allocations: 98.97 kB / 1.266 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.886, allocations: 1.131 MB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.886, allocations: 9.125 kB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.886, allocations: 0.8438 kB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.886, allocations: 5.25 kB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.8872, allocations: 1.059 MB / 1.268 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8872, allocations: 7.547 kB / 1.268 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.8879, allocations: 160.1 kB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.8883, allocations: 75.44 kB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.8884, allocations: 25.3 kB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.8898, allocations: 1.657 MB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8899, allocations: 4.062 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.8919, allocations: 0.9881 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.8922, allocations: 296.1 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.8924, allocations: 23.42 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.893, allocations: 64.09 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.8931, allocations: 78.47 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.8932, allocations: 37.83 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000682/0.8939, allocations: 0.5134 MB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8939, allocations: 0 / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008575/0.8948, allocations: 364.6 kB / 1.273 GB, free: 167.4 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: 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.003606/0.8984, allocations: 2.045 MB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.9001, allocations: 0.852 MB / 1.275 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9001, allocations: 1.25 kB / 1.275 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.901, allocations: 0.5421 MB / 1.276 GB, free: 165.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.9022, allocations: 312.6 kB / 1.276 GB, free: 165.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.913, allocations: 7.169 MB / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.9136, allocations: 1.11 MB / 1.284 GB, free: 161.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007972/0.9144, allocations: 287.5 kB / 1.285 GB, free: 161.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.915, allocations: 479 kB / 1.285 GB, free: 161 MB / 1.014 GB Notification: Performance of SimCode: time 4.7e-07/0.915, allocations: 0 / 1.285 GB, free: 161 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.9597, allocations: 23.32 MB / 1.308 GB, free: 152.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.93, allocations: 14.2 kB / 1.308 GB, free: 152.7 MB / 1.014 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