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.369/2.369, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.00139/0.00139, allocations: 176.9 kB / 496.1 MB, free: 12.92 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.833/1.833, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.001042/0.001042, allocations: 91.94 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.944e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.649/4.957, allocations: 1.731 GB / 2.95 GB, free: 104.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/4.957, allocations: 84.7 kB / 2.95 GB, free: 104.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1236/5.081, allocations: 58.25 MB / 3.007 GB, free: 45.93 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.031e-06/5.081, allocations: 0 / 3.007 GB, free: 45.93 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.84e-05/5.081, allocations: 27.94 kB / 3.007 GB, free: 45.91 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.001647/5.083, allocations: 1.079 MB / 3.008 GB, free: 44.78 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/5.083, allocations: 8.031 kB / 3.008 GB, free: 44.77 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/5.083, allocations: 131.1 kB / 3.008 GB, free: 44.64 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/5.084, allocations: 242.5 kB / 3.009 GB, free: 44.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/5.085, allocations: 0.6231 MB / 3.009 GB, free: 43.73 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/5.085, allocations: 58 kB / 3.009 GB, free: 43.68 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/5.085, allocations: 80 kB / 3.009 GB, free: 43.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/5.086, allocations: 0.8781 MB / 3.01 GB, free: 42.67 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/5.086, allocations: 0 / 3.01 GB, free: 42.67 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/5.086, allocations: 35.95 kB / 3.01 GB, free: 42.64 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/5.086, allocations: 20 kB / 3.01 GB, free: 42.62 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/5.088, allocations: 1.058 MB / 3.011 GB, free: 41.55 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/5.091, allocations: 2.731 MB / 3.014 GB, free: 38.74 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/5.092, allocations: 0.802 MB / 3.015 GB, free: 37.91 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/5.092, allocations: 267.2 kB / 3.015 GB, free: 37.65 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/5.092, allocations: 32.81 kB / 3.015 GB, free: 37.62 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005399/5.093, allocations: 413.3 kB / 3.015 GB, free: 37.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=74): time 2.064e-06/5.093, allocations: 4 kB / 3.015 GB, free: 37.19 MB / 1.167 GB Notification: Performance of matching and sorting (n=74): time 0.00141/5.094, allocations: 0.6847 MB / 3.016 GB, free: 36.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/5.094, allocations: 248.1 kB / 3.016 GB, free: 36.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/5.095, allocations: 0.5738 MB / 3.017 GB, free: 35.62 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/5.095, allocations: 45.7 kB / 3.017 GB, free: 35.57 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/5.095, allocations: 380.2 kB / 3.017 GB, free: 35.19 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/5.095, allocations: 252.4 kB / 3.017 GB, free: 34.94 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/5.095, allocations: 12 kB / 3.017 GB, free: 34.93 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/5.096, allocations: 394.6 kB / 3.018 GB, free: 34.54 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/5.096, allocations: 201.5 kB / 3.018 GB, free: 34.34 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/5.096, allocations: 323.7 kB / 3.018 GB, free: 33.98 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/5.097, allocations: 258 kB / 3.019 GB, free: 33.73 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/5.097, allocations: 0 / 3.019 GB, free: 33.73 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00231/5.099, allocations: 0.7071 MB / 3.019 GB, free: 33.02 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/5.099, allocations: 9.406 kB / 3.019 GB, free: 33.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/5.099, allocations: 0 / 3.019 GB, free: 33.01 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009305/5.1, allocations: 84.94 kB / 3.019 GB, free: 32.92 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/5.101, allocations: 147.7 kB / 3.02 GB, free: 32.78 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/5.104, allocations: 1.528 MB / 3.021 GB, free: 31.11 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009225/5.105, allocations: 83.41 kB / 3.021 GB, free: 31.03 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.274e-05/5.105, allocations: 27.98 kB / 3.021 GB, free: 31 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 () * 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.0002181/5.105, allocations: 144.9 kB / 3.021 GB, free: 30.85 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/5.105, allocations: 75.06 kB / 3.021 GB, free: 30.78 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/5.108, allocations: 0.9659 MB / 3.022 GB, free: 29.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/5.109, allocations: 8 kB / 3.022 GB, free: 29.79 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/5.109, allocations: 0 / 3.022 GB, free: 29.79 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/5.109, allocations: 3.984 kB / 3.022 GB, free: 29.79 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/5.113, allocations: 1.924 MB / 3.024 GB, free: 27.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/5.113, allocations: 0 / 3.024 GB, free: 27.79 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009162/5.114, allocations: 147.8 kB / 3.024 GB, free: 27.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007901/5.115, allocations: 80.78 kB / 3.024 GB, free: 27.56 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/5.115, allocations: 23.98 kB / 3.024 GB, free: 27.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/5.117, allocations: 1.544 MB / 3.026 GB, free: 25.85 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/5.117, allocations: 7.953 kB / 3.026 GB, free: 25.84 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/5.12, allocations: 0.8728 MB / 3.027 GB, free: 24.95 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/5.12, allocations: 287.7 kB / 3.027 GB, free: 24.65 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/5.121, allocations: 16 kB / 3.027 GB, free: 24.63 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/5.122, allocations: 67.94 kB / 3.027 GB, free: 24.57 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/5.122, allocations: 56.7 kB / 3.027 GB, free: 24.51 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/5.122, allocations: 35.98 kB / 3.027 GB, free: 24.48 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008621/5.123, allocations: 479.1 kB / 3.028 GB, free: 24.01 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.81e-07/5.123, allocations: 0 / 3.028 GB, free: 24.01 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001513/5.124, allocations: 363.2 kB / 3.028 GB, free: 23.66 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) * 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.00409/5.128, allocations: 2.331 MB / 3.03 GB, free: 21.45 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001141/5.13, allocations: 0.6902 MB / 3.031 GB, free: 20.74 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/5.13, allocations: 4.312 kB / 3.031 GB, free: 20.74 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000701/5.13, allocations: 478.9 kB / 3.031 GB, free: 20.26 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/5.132, allocations: 257.7 kB / 3.032 GB, free: 20.02 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/5.136, allocations: 1.564 MB / 3.033 GB, free: 18.41 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/5.136, allocations: 1.019 MB / 3.034 GB, free: 17.37 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008777/5.137, allocations: 258.2 kB / 3.034 GB, free: 17.11 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/5.138, allocations: 363.2 kB / 3.035 GB, free: 16.75 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/5.138, allocations: 0 / 3.035 GB, free: 16.75 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6335/5.771, allocations: 31.43 MB / 3.065 GB, free: 398 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/5.771, allocations: 242.5 kB / 3.066 GB, free: 397.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/8.826, allocations: 0 / 3.066 GB, free: 397.6 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