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.007755/0.007755, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001886/0.001886, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.106/2.106, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 71.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6644, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005216/0.6696, allocations: 4.726 MB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.8301, allocations: 150.7 MB / 1.239 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.8312, allocations: 20.78 kB / 1.239 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007502/0.832, allocations: 196.2 kB / 1.239 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.8342, allocations: 0.5239 MB / 1.24 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.8365, allocations: 0.8597 MB / 1.241 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.8382, allocations: 1.447 MB / 1.242 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.8395, allocations: 0.9288 MB / 1.243 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008463/0.8403, allocations: 0.5757 MB / 1.244 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008783/0.8412, allocations: 0.6266 MB / 1.244 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.8415, allocations: 154.8 kB / 1.244 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.8427, allocations: 0.5099 MB / 1.245 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.8431, allocations: 386.7 kB / 1.245 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007702/0.8439, allocations: 0.6956 MB / 1.246 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.8461, allocations: 1.974 MB / 1.248 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8461, allocations: 0 / 1.248 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8462, allocations: 0 / 1.248 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.557e-05/0.8462, allocations: 4 kB / 1.248 GB, free: 9.414 MB / 0.9825 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.003101/0.8493, allocations: 1.686 MB / 1.25 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8494, allocations: 12.03 kB / 1.25 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.8496, allocations: 177.8 kB / 1.25 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.8506, allocations: 223 kB / 1.25 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.8519, allocations: 0.8676 MB / 1.251 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/0.852, allocations: 94.41 kB / 1.251 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.8522, allocations: 112 kB / 1.251 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.8541, allocations: 1.198 MB / 1.252 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.8542, allocations: 7.938 kB / 1.252 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.8543, allocations: 55.97 kB / 1.252 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.8543, allocations: 36 kB / 1.252 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.8564, allocations: 1.277 MB / 1.253 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/0.861, allocations: 3.109 MB / 1.257 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.8626, allocations: 0.8641 MB / 1.257 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.8632, allocations: 326.7 kB / 1.258 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.8632, allocations: 40.59 kB / 1.258 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008616/0.8641, allocations: 0.5134 MB / 1.258 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.575e-06/0.8641, allocations: 0 / 1.258 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003264/0.8674, allocations: 1.278 MB / 1.259 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.8675, allocations: 192.9 kB / 1.26 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/0.8684, allocations: 0.7314 MB / 1.26 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.8685, allocations: 45.7 kB / 1.26 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.8688, allocations: 0.5231 MB / 1.261 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.8691, allocations: 279.9 kB / 1.261 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.8693, allocations: 158.5 kB / 1.261 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8694, allocations: 337.9 kB / 1.262 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.8699, allocations: 265.9 kB / 1.262 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/0.8706, allocations: 386.5 kB / 1.262 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.8717, allocations: 0.6359 MB / 1.263 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8717, allocations: 0 / 1.263 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001959/0.8737, allocations: 0.8643 MB / 1.264 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.8737, allocations: 11.94 kB / 1.264 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8737, allocations: 0 / 1.264 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/0.8743, allocations: 80.88 kB / 1.264 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.875, allocations: 167.7 kB / 1.264 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.877, allocations: 1.623 MB / 1.266 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.8777, allocations: 105.7 kB / 1.266 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.8778, allocations: 27.98 kB / 1.266 GB, free: 6.578 MB / 0.9981 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.0004641/0.8783, allocations: 305.7 kB / 1.266 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.8785, allocations: 94.86 kB / 1.266 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.8809, allocations: 1.125 MB / 1.267 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.881, allocations: 8 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.881, allocations: 0 / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.881, allocations: 7.969 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.8822, allocations: 1.056 MB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8822, allocations: 3.938 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.8828, allocations: 155.7 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.8833, allocations: 72.78 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.8834, allocations: 27.92 kB / 1.268 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.8852, allocations: 1.662 MB / 1.27 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8852, allocations: 0 / 1.27 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.8872, allocations: 0.9863 MB / 1.271 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.8877, allocations: 291.5 kB / 1.271 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.8878, allocations: 19.98 kB / 1.271 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/0.8885, allocations: 67.88 kB / 1.271 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.8886, allocations: 80.83 kB / 1.272 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.8887, allocations: 31.98 kB / 1.272 GB, free: 348 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006526/0.8893, allocations: 0.5185 MB / 1.272 GB, free: 15.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8894, allocations: 0 / 1.272 GB, free: 15.83 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000824/0.8902, allocations: 354.9 kB / 1.272 GB, free: 15.48 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.003467/0.8937, allocations: 2.038 MB / 1.274 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.8954, allocations: 0.8587 MB / 1.275 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8954, allocations: 0 / 1.275 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.8964, allocations: 0.5354 MB / 1.276 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.8976, allocations: 309.2 kB / 1.276 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.9095, allocations: 7.123 MB / 1.283 GB, free: 4.621 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.9102, allocations: 1.115 MB / 1.284 GB, free: 3.477 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008171/0.911, allocations: 271.5 kB / 1.284 GB, free: 3.207 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/0.9116, allocations: 479.2 kB / 1.285 GB, free: 2.738 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.9116, allocations: 0 / 1.285 GB, free: 2.738 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04824/0.9599, allocations: 23.35 MB / 1.308 GB, free: 11.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.21, allocations: 6 kB / 1.308 GB, free: 11.73 MB / 1.045 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