Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",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.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001106/0.001106, allocations: 187.9 kB / 0.4901 GB, free: 2.25 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.788/1.788, allocations: 223.1 MB / 0.7992 GB, free: 15.76 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.0009247/0.0009247, allocations: 95.2 kB / 0.9396 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 8.328 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.767/5.1, allocations: 1.745 GB / 2.974 GB, free: 221.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/5.1, allocations: 71.97 kB / 2.974 GB, free: 221.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05742/5.157, allocations: 29.76 MB / 3.004 GB, free: 191.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.545e-06/5.158, allocations: 4 kB / 3.004 GB, free: 191.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.245e-06/5.158, allocations: 4 kB / 3.004 GB, free: 191.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004222/5.158, allocations: 384 kB / 3.004 GB, free: 191 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/5.158, allocations: 8.562 kB / 3.004 GB, free: 191 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/5.158, allocations: 38.56 kB / 3.004 GB, free: 191 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/5.158, allocations: 35.86 kB / 3.004 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.303e-05/5.159, allocations: 171 kB / 3.004 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/5.159, allocations: 8 kB / 3.004 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/5.159, allocations: 11.98 kB / 3.004 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/5.159, allocations: 73.66 kB / 3.004 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/5.159, allocations: 0 / 3.004 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/5.159, allocations: 11.89 kB / 3.004 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/5.159, allocations: 0 / 3.004 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/5.159, allocations: 39.95 kB / 3.004 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/5.159, allocations: 189.5 kB / 3.004 GB, free: 190.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/5.159, allocations: 90.73 kB / 3.005 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/5.159, allocations: 182.2 kB / 3.005 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/5.159, allocations: 34.56 kB / 3.005 GB, free: 190 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/5.159, allocations: 0 / 3.005 GB, free: 190 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001095/5.161, allocations: 0.5489 MB / 3.005 GB, free: 189.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/5.161, allocations: 55.41 kB / 3.005 GB, free: 189.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.636e-05/5.161, allocations: 88.98 kB / 3.005 GB, free: 189.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/5.161, allocations: 33.7 kB / 3.005 GB, free: 189.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 2.015e-05/5.161, allocations: 80.52 kB / 3.006 GB, free: 189.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/5.161, allocations: 71.14 kB / 3.006 GB, free: 189 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/5.161, allocations: 0 / 3.006 GB, free: 189 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.212e-05/5.161, allocations: 322.8 kB / 3.006 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/5.161, allocations: 35.98 kB / 3.006 GB, free: 188.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/5.161, allocations: 68.48 kB / 3.006 GB, free: 188.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.827e-05/5.161, allocations: 47.92 kB / 3.006 GB, free: 188.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/5.161, allocations: 0 / 3.006 GB, free: 188.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001864/5.161, allocations: 165.5 kB / 3.006 GB, free: 188.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/5.161, allocations: 4 kB / 3.006 GB, free: 188.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/5.161, allocations: 4 kB / 3.006 GB, free: 188.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/5.161, allocations: 0 / 3.006 GB, free: 188.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/5.161, allocations: 39.92 kB / 3.006 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/5.161, allocations: 3.953 kB / 3.006 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/5.161, allocations: 8 kB / 3.006 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/5.161, allocations: 4 kB / 3.006 GB, free: 188.3 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.124e-05/5.162, allocations: 121.8 kB / 3.006 GB, free: 188.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/5.162, allocations: 15.91 kB / 3.006 GB, free: 188.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/5.162, allocations: 16.44 kB / 3.006 GB, free: 188.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/5.162, allocations: 0 / 3.006 GB, free: 188.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/5.162, allocations: 7.984 kB / 3.006 GB, free: 188.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/5.162, allocations: 3.953 kB / 3.006 GB, free: 188.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/5.162, allocations: 185.6 kB / 3.007 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/5.162, allocations: 8.125 kB / 3.007 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/5.162, allocations: 35.98 kB / 3.007 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/5.162, allocations: 0 / 3.007 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/5.162, allocations: 4 kB / 3.007 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/5.162, allocations: 4 kB / 3.007 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/5.162, allocations: 0 / 3.007 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/5.162, allocations: 220.9 kB / 3.007 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/5.162, allocations: 92.94 kB / 3.007 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/5.162, allocations: 8.062 kB / 3.007 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/5.162, allocations: 8 kB / 3.007 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/5.162, allocations: 7.984 kB / 3.007 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/5.162, allocations: 15.98 kB / 3.007 GB, free: 187.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 1.923e-05/5.162, allocations: 83.23 kB / 3.007 GB, free: 187.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1e-07/5.163, allocations: 0 / 3.007 GB, free: 187.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003177/5.163, allocations: 59.98 kB / 3.007 GB, free: 187.3 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.0008965/5.164, allocations: 1.186 MB / 3.008 GB, free: 186.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001665/5.164, allocations: 109.4 kB / 3.008 GB, free: 186 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/5.164, allocations: 0 / 3.008 GB, free: 186 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 5.472e-05/5.164, allocations: 51.92 kB / 3.008 GB, free: 186 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/5.164, allocations: 13.39 kB / 3.008 GB, free: 186 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/5.165, allocations: 1.462 MB / 3.01 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/5.165, allocations: 0.7128 MB / 3.011 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001232/5.166, allocations: 16.64 kB / 3.011 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/5.166, allocations: 23.44 kB / 3.011 GB, free: 183.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.383e-06/5.166, allocations: 0 / 3.011 GB, free: 183.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/5.185, allocations: 11.15 MB / 3.022 GB, free: 172.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/5.185, allocations: 177.3 kB / 3.022 GB, free: 172.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/7.361, allocations: 0 / 3.022 GB, free: 172.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat does not exist to compare? outputFormat=mat