Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirDerivativeCheck",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.352/2.352, 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.00144/0.00144, allocations: 169.2 kB / 498.1 MB, free: 5.652 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.781/1.781, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009976/0.0009976, allocations: 102 kB / 0.9346 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 8.844 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3051, allocations: 142.3 MB / 1.223 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.182/4.488, allocations: 1.744 GB / 2.967 GB, free: 274.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/4.488, allocations: 71.97 kB / 2.967 GB, free: 274.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05687/4.545, allocations: 29.76 MB / 2.996 GB, free: 244.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.859e-06/4.545, allocations: 3.984 kB / 2.996 GB, free: 244.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.993e-06/4.545, allocations: 4 kB / 2.996 GB, free: 244.6 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004306/4.545, allocations: 383.8 kB / 2.997 GB, free: 244.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/4.545, allocations: 12.03 kB / 2.997 GB, free: 244.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/4.545, allocations: 30.56 kB / 2.997 GB, free: 244.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/4.546, allocations: 39.95 kB / 2.997 GB, free: 244.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/4.546, allocations: 167 kB / 2.997 GB, free: 243.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/4.546, allocations: 7.938 kB / 2.997 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/4.546, allocations: 11.91 kB / 2.997 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/4.546, allocations: 73.64 kB / 2.997 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/4.546, allocations: 4 kB / 2.997 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/4.546, allocations: 11.95 kB / 2.997 GB, free: 243.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/4.546, allocations: 0 / 2.997 GB, free: 243.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/4.546, allocations: 39.95 kB / 2.997 GB, free: 243.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/4.546, allocations: 181.6 kB / 2.997 GB, free: 243.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/4.547, allocations: 82.55 kB / 2.997 GB, free: 243.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/4.547, allocations: 186.3 kB / 2.998 GB, free: 243.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/4.547, allocations: 30.56 kB / 2.998 GB, free: 243.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/4.547, allocations: 0 / 2.998 GB, free: 243.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.00118/4.548, allocations: 0.5466 MB / 2.998 GB, free: 242.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/4.548, allocations: 55.41 kB / 2.998 GB, free: 242.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/4.548, allocations: 89 kB / 2.998 GB, free: 242.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/4.548, allocations: 33.7 kB / 2.998 GB, free: 242.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/4.548, allocations: 80.52 kB / 2.998 GB, free: 242.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/4.548, allocations: 74.92 kB / 2.999 GB, free: 242.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/4.548, allocations: 4 kB / 2.999 GB, free: 242.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/4.548, allocations: 327 kB / 2.999 GB, free: 241.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/4.548, allocations: 31.98 kB / 2.999 GB, free: 241.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/4.548, allocations: 69.44 kB / 2.999 GB, free: 241.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/4.548, allocations: 43.98 kB / 2.999 GB, free: 241.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/4.548, allocations: 0 / 2.999 GB, free: 241.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001977/4.549, allocations: 153.4 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/4.549, allocations: 4 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/4.549, allocations: 3.938 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/4.549, allocations: 8 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/4.549, allocations: 47.91 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/4.549, allocations: 3.953 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/4.549, allocations: 4 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/4.549, allocations: 8 kB / 2.999 GB, free: 241.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/4.549, allocations: 119.4 kB / 2.999 GB, free: 241.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/4.549, allocations: 7.906 kB / 2.999 GB, free: 241.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/4.549, allocations: 20.44 kB / 2.999 GB, free: 241.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/4.549, allocations: 4 kB / 2.999 GB, free: 241.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/4.549, allocations: 4.125 kB / 2.999 GB, free: 241.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/4.549, allocations: 11.88 kB / 2.999 GB, free: 241.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/4.549, allocations: 193.6 kB / 3 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/4.549, allocations: 0 / 3 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/4.549, allocations: 39.98 kB / 3 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/4.55, allocations: 0 / 3 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/4.55, allocations: 4 kB / 3 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/4.55, allocations: 0 / 3 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/4.55, allocations: 0 / 3 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/4.55, allocations: 216.8 kB / 3 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/4.55, allocations: 89 kB / 3 GB, free: 240.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/4.55, allocations: 4.062 kB / 3 GB, free: 240.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/4.55, allocations: 4 kB / 3 GB, free: 240.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/4.55, allocations: 15.98 kB / 3 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/4.55, allocations: 4 kB / 3 GB, free: 240.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.325e-05/4.55, allocations: 83.23 kB / 3 GB, free: 240.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.32e-07/4.55, allocations: 4.094 kB / 3 GB, free: 240.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000343/4.55, allocations: 67.92 kB / 3 GB, free: 240.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/4.551, allocations: 1.196 MB / 3.001 GB, free: 239.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001935/4.552, allocations: 105.2 kB / 3.001 GB, free: 239.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/4.552, allocations: 0 / 3.001 GB, free: 239.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/4.552, allocations: 55.92 kB / 3.001 GB, free: 239.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/4.552, allocations: 16.5 kB / 3.001 GB, free: 239.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/4.553, allocations: 1.455 MB / 3.003 GB, free: 237.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/4.553, allocations: 0.705 MB / 3.003 GB, free: 236.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001315/4.554, allocations: 24.62 kB / 3.004 GB, free: 236.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/4.554, allocations: 23.44 kB / 3.004 GB, free: 236.8 MB / 1.167 GB Notification: Performance of SimCode: time 5.831e-06/4.554, allocations: 0 / 3.004 GB, free: 236.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/4.578, allocations: 11.13 MB / 3.014 GB, free: 225.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/4.578, allocations: 170.8 kB / 3.015 GB, free: 225.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/6.505, allocations: 0 / 3.015 GB, free: 225.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat does not exist to compare? outputFormat=mat