Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001175/0.001175, allocations: 191.4 kB / 0.4902 GB, free: 2.215 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.637/1.637, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001286/0.001286, allocations: 104.1 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005162, allocations: 11.31 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3399, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.368/4.708, allocations: 1.731 GB / 2.961 GB, free: 255.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004202/4.708, allocations: 87.95 kB / 2.961 GB, free: 255.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1272/4.835, allocations: 58.55 MB / 3.018 GB, free: 196.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.505e-06/4.835, allocations: 3.938 kB / 3.018 GB, free: 196.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001294/4.836, allocations: 24 kB / 3.018 GB, free: 196.4 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.003037/4.839, allocations: 1.207 MB / 3.019 GB, free: 195.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/4.839, allocations: 8.562 kB / 3.019 GB, free: 195.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004156/4.839, allocations: 131.1 kB / 3.019 GB, free: 195 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/4.841, allocations: 246.5 kB / 3.019 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/4.842, allocations: 0.6192 MB / 3.02 GB, free: 194.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/4.842, allocations: 62 kB / 3.02 GB, free: 194 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/4.842, allocations: 76 kB / 3.02 GB, free: 193.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/4.844, allocations: 0.9209 MB / 3.021 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/4.844, allocations: 4 kB / 3.021 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/4.844, allocations: 43.94 kB / 3.021 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/4.844, allocations: 20 kB / 3.021 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/4.846, allocations: 1.128 MB / 3.022 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/4.85, allocations: 2.722 MB / 3.025 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/4.852, allocations: 0.8747 MB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.929e-05/4.852, allocations: 28.69 kB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/4.852, allocations: 435.2 kB / 3.026 GB, free: 187.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=74): time 4.399e-06/4.852, allocations: 3.938 kB / 3.026 GB, free: 187.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=74): time 0.002843/4.855, allocations: 1.101 MB / 3.027 GB, free: 186.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/4.855, allocations: 249 kB / 3.027 GB, free: 186.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/4.856, allocations: 0.5815 MB / 3.028 GB, free: 185.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/4.856, allocations: 41.7 kB / 3.028 GB, free: 185.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/4.856, allocations: 380.2 kB / 3.028 GB, free: 185.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/4.857, allocations: 260.4 kB / 3.029 GB, free: 184.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/4.857, allocations: 11.94 kB / 3.029 GB, free: 184.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00011/4.857, allocations: 386.7 kB / 3.029 GB, free: 184.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/4.857, allocations: 217.2 kB / 3.029 GB, free: 184.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/4.858, allocations: 350.2 kB / 3.03 GB, free: 183.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/4.858, allocations: 275.1 kB / 3.03 GB, free: 183.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/4.858, allocations: 0 / 3.03 GB, free: 183.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00171/4.86, allocations: 0.7471 MB / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/4.86, allocations: 12.16 kB / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/4.86, allocations: 0 / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/4.861, allocations: 84.77 kB / 3.031 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/4.861, allocations: 143.8 kB / 3.031 GB, free: 182.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/4.863, allocations: 1.543 MB / 3.032 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/4.864, allocations: 79.5 kB / 3.032 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/4.864, allocations: 31.98 kB / 3.032 GB, free: 180.8 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.0003743/4.864, allocations: 251.7 kB / 3.033 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/4.864, allocations: 83.06 kB / 3.033 GB, free: 180.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/4.866, allocations: 1.018 MB / 3.034 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/4.866, allocations: 8 kB / 3.034 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/4.866, allocations: 0 / 3.034 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/4.866, allocations: 3.984 kB / 3.034 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/4.87, allocations: 1.977 MB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/4.87, allocations: 4 kB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/4.87, allocations: 147.8 kB / 3.036 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/4.871, allocations: 84.72 kB / 3.036 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/4.871, allocations: 23.98 kB / 3.036 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/4.872, allocations: 1.552 MB / 3.037 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/4.872, allocations: 11.95 kB / 3.038 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/4.874, allocations: 0.918 MB / 3.038 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/4.874, allocations: 291.6 kB / 3.039 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/4.874, allocations: 19.95 kB / 3.039 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/4.875, allocations: 67.95 kB / 3.039 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/4.875, allocations: 60.84 kB / 3.039 GB, free: 174 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/4.875, allocations: 31.98 kB / 3.039 GB, free: 174 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005718/4.876, allocations: 487 kB / 3.039 GB, free: 173.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.9e-07/4.876, allocations: 0 / 3.039 GB, free: 173.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001195/4.877, allocations: 359.3 kB / 3.04 GB, free: 173.2 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.003952/4.881, allocations: 2.425 MB / 3.042 GB, free: 170.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00143/4.883, allocations: 0.7359 MB / 3.043 GB, free: 170.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/4.883, allocations: 0 / 3.043 GB, free: 170.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008021/4.883, allocations: 0.5001 MB / 3.043 GB, free: 169.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/4.885, allocations: 257.6 kB / 3.043 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/4.894, allocations: 5.53 MB / 3.049 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/4.895, allocations: 1.023 MB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009257/4.896, allocations: 262.2 kB / 3.05 GB, free: 162.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/4.896, allocations: 351.3 kB / 3.05 GB, free: 162.1 MB / 1.167 GB Notification: Performance of SimCode: time 9.21e-07/4.896, allocations: 0 / 3.05 GB, free: 162.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/4.957, allocations: 29.74 MB / 3.08 GB, free: 132.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/4.957, allocations: 271.7 kB / 3.08 GB, free: 132.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/8.031, allocations: 0 / 3.08 GB, free: 132.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat does not exist to compare? outputFormat=mat