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.36/2.36, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001452/0.001452, allocations: 192.5 kB / 487.4 MB, free: 5.031 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.601/1.601, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 108.1 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.818e-05, allocations: 8.656 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2558, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.235/4.49, allocations: 1.744 GB / 2.95 GB, free: 140.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/4.491, allocations: 67.97 kB / 2.95 GB, free: 140.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05579/4.547, allocations: 29.16 MB / 2.978 GB, free: 111 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.473e-06/4.547, allocations: 3.938 kB / 2.978 GB, free: 111 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.3e-06/4.547, allocations: 0 / 2.978 GB, free: 111 MB / 1.151 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.0003567/4.547, allocations: 375.2 kB / 2.979 GB, free: 110.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/4.547, allocations: 15.97 kB / 2.979 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/4.547, allocations: 47.75 kB / 2.979 GB, free: 110.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/4.548, allocations: 163 kB / 2.979 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/4.548, allocations: 0 / 2.979 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/4.548, allocations: 11.98 kB / 2.979 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/4.548, allocations: 31.98 kB / 2.979 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/4.548, allocations: 65.66 kB / 2.979 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/4.548, allocations: 4 kB / 2.979 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/4.548, allocations: 3.953 kB / 2.979 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/4.548, allocations: 4 kB / 2.979 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/4.548, allocations: 162 kB / 2.979 GB, free: 110 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/4.548, allocations: 70.62 kB / 2.979 GB, free: 109.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/4.548, allocations: 24.94 kB / 2.979 GB, free: 109.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/4.548, allocations: 178.2 kB / 2.979 GB, free: 109.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/4.548, allocations: 38.56 kB / 2.979 GB, free: 109.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/4.548, allocations: 0 / 2.979 GB, free: 109.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001068/4.549, allocations: 483.2 kB / 2.98 GB, free: 109.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/4.55, allocations: 59.41 kB / 2.98 GB, free: 109 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.99e-05/4.55, allocations: 89 kB / 2.98 GB, free: 108.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/4.55, allocations: 25.7 kB / 2.98 GB, free: 108.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/4.55, allocations: 84.52 kB / 2.98 GB, free: 108.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/4.55, allocations: 63 kB / 2.98 GB, free: 108.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/4.55, allocations: 4 kB / 2.98 GB, free: 108.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.54e-05/4.55, allocations: 322.8 kB / 2.98 GB, free: 108.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/4.55, allocations: 32.12 kB / 2.981 GB, free: 108.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/4.55, allocations: 65.66 kB / 2.981 GB, free: 108.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/4.55, allocations: 39.95 kB / 2.981 GB, free: 108.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/4.55, allocations: 0 / 2.981 GB, free: 108.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001558/4.55, allocations: 137.6 kB / 2.981 GB, free: 108.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/4.55, allocations: 11.94 kB / 2.981 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/4.55, allocations: 0 / 2.981 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/4.55, allocations: 0 / 2.981 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/4.55, allocations: 43.92 kB / 2.981 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/4.55, allocations: 4 kB / 2.981 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/4.55, allocations: 0 / 2.981 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/4.55, allocations: 4 kB / 2.981 GB, free: 108.1 MB / 1.151 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 () * 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 5.502e-05/4.55, allocations: 120.8 kB / 2.981 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001274/4.551, allocations: 110.5 kB / 2.981 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/4.551, allocations: 7.906 kB / 2.981 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/4.551, allocations: 16.47 kB / 2.981 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/4.551, allocations: 4 kB / 2.981 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/4.551, allocations: 4 kB / 2.981 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/4.551, allocations: 0 / 2.981 GB, free: 107.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.632e-05/4.551, allocations: 178.1 kB / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/4.551, allocations: 0 / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/4.551, allocations: 35.98 kB / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/4.551, allocations: 0 / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/4.551, allocations: 0 / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/4.551, allocations: 0 / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/4.551, allocations: 0 / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/4.551, allocations: 203.1 kB / 2.981 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/4.551, allocations: 89 kB / 2.982 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/4.551, allocations: 4 kB / 2.982 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/4.551, allocations: 3.984 kB / 2.982 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/4.551, allocations: 11.98 kB / 2.982 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/4.551, allocations: 8.062 kB / 2.982 GB, free: 107.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 1.521e-05/4.551, allocations: 75.28 kB / 2.982 GB, free: 107.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/4.551, allocations: 0 / 2.982 GB, free: 107.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000268/4.552, allocations: 56.08 kB / 2.982 GB, free: 107.1 MB / 1.151 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 () * 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.0008437/4.553, allocations: 1.264 MB / 2.983 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001442/4.553, allocations: 87.92 kB / 2.983 GB, free: 105.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/4.553, allocations: 0 / 2.983 GB, free: 105.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/4.553, allocations: 51.92 kB / 2.983 GB, free: 105.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/4.553, allocations: 12.42 kB / 2.983 GB, free: 105.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/4.554, allocations: 499.5 kB / 2.984 GB, free: 105.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/4.554, allocations: 0.7047 MB / 2.984 GB, free: 104.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001228/4.554, allocations: 28.73 kB / 2.984 GB, free: 104.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/4.554, allocations: 27.38 kB / 2.984 GB, free: 104.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/4.554, allocations: 0 / 2.984 GB, free: 104.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/4.578, allocations: 6.176 MB / 2.99 GB, free: 98.17 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/4.578, allocations: 127.3 kB / 2.99 GB, free: 97.98 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/6.377, allocations: 0 / 2.99 GB, free: 97.98 MB / 1.151 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