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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009815/0.0009856, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001133/0.001133, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.604/2.604, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.000331, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7455, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005623/0.7512, allocations: 4.072 MB / 0.9578 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.9219, allocations: 136.9 MB / 1.092 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.9229, allocations: 23.88 kB / 1.092 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.9234, allocations: 142.8 kB / 1.092 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.925, allocations: 431.7 kB / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.9267, allocations: 0.6568 MB / 1.093 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.9282, allocations: 1.237 MB / 1.094 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.9291, allocations: 0.6984 MB / 1.095 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.9297, allocations: 382 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.9302, allocations: 417.6 kB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.9303, allocations: 28 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.9311, allocations: 339.7 kB / 1.096 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.9313, allocations: 207 kB / 1.096 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.9316, allocations: 237 kB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.9329, allocations: 1.418 MB / 1.098 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.9329, allocations: 0 / 1.098 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9329, allocations: 0 / 1.098 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.9329, allocations: 0 / 1.098 GB, free: 12.58 MB / 0.8575 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.002495/0.9354, allocations: 1.44 MB / 1.099 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9355, allocations: 8.031 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.9357, allocations: 181.6 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008576/0.9366, allocations: 234 kB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.9377, allocations: 0.8208 MB / 1.1 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.9378, allocations: 86.41 kB / 1.1 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.9379, allocations: 120 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.9399, allocations: 1.202 MB / 1.102 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.9399, allocations: 0 / 1.102 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.94, allocations: 48 kB / 1.102 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.94, allocations: 28 kB / 1.102 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.9421, allocations: 1.281 MB / 1.103 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.9468, allocations: 3.19 MB / 1.106 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.9483, allocations: 0.8624 MB / 1.107 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.9489, allocations: 326.7 kB / 1.107 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/0.949, allocations: 32.55 kB / 1.107 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/0.9499, allocations: 0.516 MB / 1.108 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=87): time 3.907e-06/0.9499, allocations: 112 / 1.108 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=87): time 0.003041/0.953, allocations: 1.282 MB / 1.109 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.9531, allocations: 196.9 kB / 1.109 GB, free: 400 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.9541, allocations: 0.7274 MB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.9542, allocations: 41.7 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.9547, allocations: 0.5232 MB / 1.11 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.9549, allocations: 283.9 kB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.9549, allocations: 16 kB / 1.111 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9551, allocations: 337.9 kB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.9556, allocations: 265.9 kB / 1.111 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.9562, allocations: 394.5 kB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.9568, allocations: 314.9 kB / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9568, allocations: 0 / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001861/0.9586, allocations: 0.872 MB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.9587, allocations: 4 kB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.9587, allocations: 0 / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.9592, allocations: 84.86 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.9599, allocations: 163.8 kB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.9618, allocations: 1.532 MB / 1.114 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/0.9625, allocations: 120.6 kB / 1.115 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.9626, allocations: 27.98 kB / 1.115 GB, free: 10.52 MB / 0.8731 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000525/0.9631, allocations: 289.7 kB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.9633, allocations: 94.78 kB / 1.115 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.9656, allocations: 1.145 MB / 1.116 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.9656, allocations: 8 kB / 1.116 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9656, allocations: 4 kB / 1.116 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9656, allocations: 7.969 kB / 1.116 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.9668, allocations: 1.052 MB / 1.117 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9668, allocations: 0 / 1.117 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.9674, allocations: 159.7 kB / 1.117 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.9679, allocations: 80.78 kB / 1.117 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.968, allocations: 35.92 kB / 1.117 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.9697, allocations: 1.54 MB / 1.119 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.9697, allocations: 3.938 kB / 1.119 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.9716, allocations: 0.9902 MB / 1.12 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.972, allocations: 303.5 kB / 1.12 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.9721, allocations: 20 kB / 1.12 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.9727, allocations: 79.92 kB / 1.12 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.9729, allocations: 76.89 kB / 1.12 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.973, allocations: 31.98 kB / 1.12 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006661/0.9736, allocations: 0.5107 MB / 1.121 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9737, allocations: 0 / 1.121 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009407/0.9746, allocations: 362.8 kB / 1.121 GB, free: 3.504 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003283/0.9779, allocations: 2.026 MB / 1.123 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.9795, allocations: 0.8548 MB / 1.124 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9796, allocations: 0 / 1.124 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.9804, allocations: 0.5471 MB / 1.125 GB, free: 204 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.9816, allocations: 268 kB / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.9925, allocations: 5.988 MB / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.9932, allocations: 1.113 MB / 1.132 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009655/0.9942, allocations: 271.5 kB / 1.132 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/0.9948, allocations: 483.2 kB / 1.132 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of SimCode: time 1.473e-06/0.9948, allocations: 3.938 kB / 1.132 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/1.044, allocations: 23.21 MB / 1.155 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.044, allocations: 280.9 kB / 1.155 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.532, allocations: 0 / 1.155 GB, free: 0.7305 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat