Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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.007071/0.007071, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001671/0.001671, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.585/2.585, allocations: 469.4 MB / 0.7422 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 71.88 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6465, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007248/0.6537, allocations: 5.951 MB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.8057, allocations: 150.8 MB / 1.373 GB, free: 4.844 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008155/0.8065, allocations: 19.88 kB / 1.373 GB, free: 4.824 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.8073, allocations: 233.7 kB / 1.373 GB, free: 4.594 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.8093, allocations: 0.6401 MB / 1.374 GB, free: 3.953 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.8113, allocations: 0.8713 MB / 1.375 GB, free: 3.09 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.8131, allocations: 1.665 MB / 1.376 GB, free: 1.418 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.8143, allocations: 0.8722 MB / 1.377 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007966/0.8151, allocations: 0.6112 MB / 1.378 GB, free: 15.9 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008181/0.8159, allocations: 0.6612 MB / 1.378 GB, free: 15.23 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.8162, allocations: 156 kB / 1.378 GB, free: 15.08 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008857/0.817, allocations: 0.5113 MB / 1.379 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.8174, allocations: 374.8 kB / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006854/0.8181, allocations: 0.7346 MB / 1.38 GB, free: 13.46 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.8202, allocations: 2.048 MB / 1.382 GB, free: 11.41 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8202, allocations: 0 / 1.382 GB, free: 11.41 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8202, allocations: 0 / 1.382 GB, free: 11.41 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.8202, allocations: 0 / 1.382 GB, free: 11.41 MB / 1.107 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.002825/0.823, allocations: 1.767 MB / 1.384 GB, free: 9.59 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.8231, allocations: 12.62 kB / 1.384 GB, free: 9.578 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.8233, allocations: 181.8 kB / 1.384 GB, free: 9.391 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.8243, allocations: 223.8 kB / 1.384 GB, free: 9.172 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.8256, allocations: 0.8799 MB / 1.385 GB, free: 8.246 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.8257, allocations: 94.41 kB / 1.385 GB, free: 8.152 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.8259, allocations: 116 kB / 1.385 GB, free: 8.039 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.8279, allocations: 1.198 MB / 1.386 GB, free: 6.777 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.8279, allocations: 0 / 1.386 GB, free: 6.777 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.8281, allocations: 55.98 kB / 1.386 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.8281, allocations: 28 kB / 1.386 GB, free: 6.695 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.8302, allocations: 1.285 MB / 1.388 GB, free: 5.402 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.8352, allocations: 3.559 MB / 1.391 GB, free: 1.668 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.8369, allocations: 0.8697 MB / 1.392 GB, free: 0.793 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.8375, allocations: 322.6 kB / 1.392 GB, free: 488 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.041e-05/0.8376, allocations: 32.61 kB / 1.392 GB, free: 456 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009704/0.8386, allocations: 0.5214 MB / 1.393 GB, free: 15.91 MB / 1.123 GB Notification: Performance of pre-optimization done (n=87): time 2.515e-06/0.8386, allocations: 0 / 1.393 GB, free: 15.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.003459/0.8421, allocations: 1.29 MB / 1.394 GB, free: 14.59 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.8422, allocations: 196.9 kB / 1.394 GB, free: 14.36 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/0.8431, allocations: 0.7353 MB / 1.395 GB, free: 13.61 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.8432, allocations: 41.7 kB / 1.395 GB, free: 13.56 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.8437, allocations: 0.5281 MB / 1.396 GB, free: 13.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.8439, allocations: 297.3 kB / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.8442, allocations: 162.6 kB / 1.396 GB, free: 12.57 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8443, allocations: 338 kB / 1.396 GB, free: 12.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.8448, allocations: 269.9 kB / 1.397 GB, free: 11.97 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/0.8455, allocations: 386.5 kB / 1.397 GB, free: 11.57 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.8466, allocations: 0.6359 MB / 1.398 GB, free: 10.92 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8467, allocations: 0 / 1.398 GB, free: 10.92 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00206/0.8487, allocations: 0.8764 MB / 1.398 GB, free: 10.03 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8488, allocations: 12.03 kB / 1.398 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8488, allocations: 4.109 kB / 1.398 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.8494, allocations: 84.7 kB / 1.399 GB, free: 9.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.8501, allocations: 171.7 kB / 1.399 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.8523, allocations: 1.623 MB / 1.4 GB, free: 7.992 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.853, allocations: 103.4 kB / 1.4 GB, free: 7.891 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.8531, allocations: 35.97 kB / 1.4 GB, free: 7.855 MB / 1.123 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.0004527/0.8535, allocations: 291.8 kB / 1.401 GB, free: 7.562 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.8537, allocations: 103.3 kB / 1.401 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.8562, allocations: 1.126 MB / 1.402 GB, free: 6.328 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.8563, allocations: 12 kB / 1.402 GB, free: 6.316 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8563, allocations: 0 / 1.402 GB, free: 6.316 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.8563, allocations: 3.984 kB / 1.402 GB, free: 6.312 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.8576, allocations: 1.06 MB / 1.403 GB, free: 5.203 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.8576, allocations: 0 / 1.403 GB, free: 5.203 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.8583, allocations: 159.7 kB / 1.403 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.8588, allocations: 68.8 kB / 1.403 GB, free: 4.977 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.8589, allocations: 31.91 kB / 1.403 GB, free: 4.945 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.8609, allocations: 1.662 MB / 1.405 GB, free: 3.129 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8609, allocations: 0 / 1.405 GB, free: 3.129 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.863, allocations: 0.9946 MB / 1.406 GB, free: 2.117 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.8635, allocations: 292.1 kB / 1.406 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.8637, allocations: 20 kB / 1.406 GB, free: 1.793 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.8644, allocations: 77.58 kB / 1.406 GB, free: 1.719 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.8646, allocations: 68.89 kB / 1.406 GB, free: 1.648 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.8647, allocations: 35.98 kB / 1.406 GB, free: 1.613 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007237/0.8654, allocations: 0.5185 MB / 1.407 GB, free: 1.098 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8654, allocations: 3.938 kB / 1.407 GB, free: 1.094 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009412/0.8663, allocations: 390.8 kB / 1.407 GB, free: 0.7109 MB / 1.123 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.003708/0.8701, allocations: 2.04 MB / 1.409 GB, free: 14.82 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.8719, allocations: 0.8587 MB / 1.41 GB, free: 13.95 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8719, allocations: 0 / 1.41 GB, free: 13.95 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8729, allocations: 0.5393 MB / 1.41 GB, free: 13.4 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.8744, allocations: 333 kB / 1.411 GB, free: 13.1 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.8862, allocations: 7.075 MB / 1.418 GB, free: 5.863 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.887, allocations: 1.106 MB / 1.419 GB, free: 4.73 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009294/0.8879, allocations: 291.6 kB / 1.419 GB, free: 4.441 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/0.8886, allocations: 487.2 kB / 1.42 GB, free: 3.965 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/0.8886, allocations: 0 / 1.42 GB, free: 3.965 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.9365, allocations: 24.16 MB / 1.443 GB, free: 12.16 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.44, allocations: 17.41 kB / 1.443 GB, free: 12.15 MB / 1.17 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_latest_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