Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.000929/0.000929, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009112/0.0009111, allocations: 177.3 kB / 15.95 MB, free: 216 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.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.418 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.416/2.416, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004231, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7912, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004574/0.7958, allocations: 3.71 MB / 0.9572 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1638/0.9597, allocations: 127.6 MB / 1.082 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000973/0.9607, allocations: 11.94 kB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.9611, allocations: 79.31 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.9628, allocations: 0.4969 MB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.9646, allocations: 0.6365 MB / 1.083 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.9661, allocations: 0.8371 MB / 1.084 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.9668, allocations: 499.4 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.9674, allocations: 350.5 kB / 1.085 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.9678, allocations: 351.4 kB / 1.085 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.9679, allocations: 24 kB / 1.085 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.9687, allocations: 307.6 kB / 1.085 GB, free: 9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.9689, allocations: 187.2 kB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.9691, allocations: 197.1 kB / 1.086 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.9703, allocations: 1.169 MB / 1.087 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.9703, allocations: 0 / 1.087 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9703, allocations: 4 kB / 1.087 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.9703, allocations: 0 / 1.087 GB, free: 7.441 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002308/0.9726, allocations: 1.248 MB / 1.088 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.9727, allocations: 8.031 kB / 1.088 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.9729, allocations: 139.5 kB / 1.088 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.9741, allocations: 250.3 kB / 1.088 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.9754, allocations: 0.7302 MB / 1.089 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.9754, allocations: 74 kB / 1.089 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.9756, allocations: 83.94 kB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.9773, allocations: 0.9716 MB / 1.09 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.9773, allocations: 3.953 kB / 1.09 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.9774, allocations: 39.98 kB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.9775, allocations: 28 kB / 1.09 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.9795, allocations: 1.175 MB / 1.091 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00488/0.9844, allocations: 2.845 MB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.9863, allocations: 0.9564 MB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.329e-05/0.9864, allocations: 36.59 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/0.9873, allocations: 0.4937 MB / 1.096 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=83): time 2.464e-06/0.9873, allocations: 0 / 1.096 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=83): time 0.003099/0.9904, allocations: 1.236 MB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.9906, allocations: 188.9 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/0.9915, allocations: 0.637 MB / 1.098 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/0.9916, allocations: 41.7 kB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.9919, allocations: 408.3 kB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.9922, allocations: 272.1 kB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.9922, allocations: 16 kB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.9924, allocations: 386.8 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.9929, allocations: 253.9 kB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.9935, allocations: 377.1 kB / 1.099 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.9941, allocations: 306.9 kB / 1.1 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9941, allocations: 0 / 1.1 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001819/0.9959, allocations: 0.8408 MB / 1.1 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.9959, allocations: 4 kB / 1.1 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.9959, allocations: 4 kB / 1.1 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.9965, allocations: 88.94 kB / 1.101 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.9972, allocations: 163.7 kB / 1.101 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9993, allocations: 1.528 MB / 1.102 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/1, allocations: 107.4 kB / 1.102 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/1, allocations: 31.98 kB / 1.102 GB, free: 6.977 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (92): * Single equations (assignments): 91 * 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.0005003/1.001, allocations: 269.6 kB / 1.103 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.001, allocations: 87.25 kB / 1.103 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/1.003, allocations: 1.097 MB / 1.104 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.003, allocations: 16 kB / 1.104 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/1.003, allocations: 3.938 kB / 1.104 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.003, allocations: 3.984 kB / 1.104 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/1.007, allocations: 2.106 MB / 1.106 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.007, allocations: 0 / 1.106 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/1.008, allocations: 159.8 kB / 1.106 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005099/1.008, allocations: 88.72 kB / 1.106 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-05/1.008, allocations: 23.98 kB / 1.106 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.01, allocations: 1.556 MB / 1.108 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.01, allocations: 0 / 1.108 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/1.012, allocations: 1.019 MB / 1.109 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/1.013, allocations: 283.6 kB / 1.109 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.013, allocations: 24.05 kB / 1.109 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/1.014, allocations: 91.84 kB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.014, allocations: 68.89 kB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-05/1.014, allocations: 35.98 kB / 1.109 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007225/1.015, allocations: 455 kB / 1.109 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/1.015, allocations: 3.938 kB / 1.109 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001131/1.016, allocations: 319.3 kB / 1.11 GB, free: 15.03 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * 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.003895/1.02, allocations: 2.053 MB / 1.112 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001817/1.022, allocations: 0.8156 MB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.022, allocations: 384 / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.023, allocations: 0.5275 MB / 1.113 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/1.024, allocations: 269.7 kB / 1.113 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.036, allocations: 6.033 MB / 1.119 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/1.037, allocations: 1.053 MB / 1.12 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009718/1.038, allocations: 266.9 kB / 1.121 GB, free: 4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/1.038, allocations: 391.3 kB / 1.121 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of SimCode: time 1.092e-06/1.038, allocations: 0 / 1.121 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/1.084, allocations: 21.77 MB / 1.142 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/1.084, allocations: 272.9 kB / 1.142 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.385, allocations: 3.938 kB / 1.142 GB, free: 13.85 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat does not exist to compare? outputFormat=mat