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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 189 kB / 498.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.1 MB / 0.7948 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009839, allocations: 100.3 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8.094 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3058, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.252/4.558, allocations: 1.731 GB / 2.953 GB, free: 253.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/4.558, allocations: 88.89 kB / 2.954 GB, free: 253.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1194/4.678, allocations: 58.56 MB / 3.011 GB, free: 194.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.743e-06/4.678, allocations: 0 / 3.011 GB, free: 194.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.502e-05/4.678, allocations: 27.98 kB / 3.011 GB, free: 194.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002028/4.68, allocations: 1.2 MB / 3.012 GB, free: 193.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/4.68, allocations: 8.031 kB / 3.012 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/4.68, allocations: 143.1 kB / 3.012 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/4.681, allocations: 234.5 kB / 3.012 GB, free: 193.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/4.682, allocations: 0.6153 MB / 3.013 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/4.682, allocations: 62 kB / 3.013 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/4.682, allocations: 76 kB / 3.013 GB, free: 192.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/4.683, allocations: 0.9286 MB / 3.014 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/4.683, allocations: 0 / 3.014 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/4.683, allocations: 47.83 kB / 3.014 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/4.683, allocations: 20 kB / 3.014 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/4.685, allocations: 1.132 MB / 3.015 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/4.688, allocations: 2.707 MB / 3.018 GB, free: 187.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/4.69, allocations: 0.882 MB / 3.019 GB, free: 186.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-05/4.69, allocations: 32.69 kB / 3.019 GB, free: 186.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006923/4.691, allocations: 435.2 kB / 3.019 GB, free: 186.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=74): time 2.495e-06/4.691, allocations: 0 / 3.019 GB, free: 186.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=74): time 0.002712/4.693, allocations: 1.097 MB / 3.02 GB, free: 184.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/4.693, allocations: 249 kB / 3.02 GB, free: 184.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/4.694, allocations: 0.5932 MB / 3.021 GB, free: 184 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/4.694, allocations: 41.7 kB / 3.021 GB, free: 184 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/4.694, allocations: 376.2 kB / 3.021 GB, free: 183.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/4.694, allocations: 248.4 kB / 3.022 GB, free: 183.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/4.695, allocations: 16 kB / 3.022 GB, free: 183.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001109/4.695, allocations: 386.6 kB / 3.022 GB, free: 183 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/4.695, allocations: 225.2 kB / 3.022 GB, free: 182.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/4.695, allocations: 349 kB / 3.023 GB, free: 182.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/4.696, allocations: 271.1 kB / 3.023 GB, free: 182.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/4.696, allocations: 0 / 3.023 GB, free: 182.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001518/4.697, allocations: 0.7471 MB / 3.024 GB, free: 181.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/4.698, allocations: 8 kB / 3.024 GB, free: 181.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/4.698, allocations: 0 / 3.024 GB, free: 181.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/4.698, allocations: 88.94 kB / 3.024 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/4.699, allocations: 147.8 kB / 3.024 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/4.701, allocations: 1.543 MB / 3.025 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/4.701, allocations: 79.44 kB / 3.025 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/4.701, allocations: 28.05 kB / 3.025 GB, free: 179.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0004113/4.702, allocations: 258.3 kB / 3.026 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/4.702, allocations: 79.05 kB / 3.026 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/4.704, allocations: 1.01 MB / 3.027 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/4.704, allocations: 12 kB / 3.027 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/4.704, allocations: 0 / 3.027 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/4.704, allocations: 3.984 kB / 3.027 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/4.707, allocations: 1.977 MB / 3.029 GB, free: 175.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/4.707, allocations: 3.938 kB / 3.029 GB, free: 175.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/4.707, allocations: 147.8 kB / 3.029 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/4.708, allocations: 84.77 kB / 3.029 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/4.708, allocations: 19.98 kB / 3.029 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/4.709, allocations: 1.567 MB / 3.03 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/4.709, allocations: 3.953 kB / 3.03 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/4.711, allocations: 0.9144 MB / 3.031 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/4.711, allocations: 291.6 kB / 3.032 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/4.711, allocations: 23.95 kB / 3.032 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/4.712, allocations: 67.94 kB / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/4.712, allocations: 60.91 kB / 3.032 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/4.712, allocations: 35.92 kB / 3.032 GB, free: 172.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005146/4.713, allocations: 483 kB / 3.032 GB, free: 172 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/4.713, allocations: 0 / 3.032 GB, free: 172 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001107/4.714, allocations: 363.2 kB / 3.033 GB, free: 171.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003657/4.717, allocations: 2.431 MB / 3.035 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001362/4.719, allocations: 0.7397 MB / 3.036 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/4.719, allocations: 4 kB / 3.036 GB, free: 168.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007004/4.72, allocations: 0.4885 MB / 3.036 GB, free: 168.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/4.721, allocations: 253.8 kB / 3.036 GB, free: 167.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/4.728, allocations: 5.529 MB / 3.042 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/4.729, allocations: 1.027 MB / 3.043 GB, free: 161.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008211/4.73, allocations: 254.2 kB / 3.043 GB, free: 161 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/4.73, allocations: 359.3 kB / 3.043 GB, free: 160.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.032e-06/4.73, allocations: 0 / 3.043 GB, free: 160.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04479/4.775, allocations: 29.72 MB / 3.072 GB, free: 131.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/4.775, allocations: 266.3 kB / 3.073 GB, free: 130.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/7.802, allocations: 3.938 kB / 3.073 GB, free: 130.9 MB / 1.167 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