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.185/2.185, allocations: 390.5 MB / 398 MB, free: 10.94 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.001118/0.001118, allocations: 172.9 kB / 491.2 MB, free: 1.559 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.462/1.462, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0008976/0.0008976, allocations: 89.75 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.652e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2432, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.282/4.526, allocations: 1.744 GB / 2.957 GB, free: 120.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/4.526, allocations: 76.88 kB / 2.957 GB, free: 120.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05488/4.581, allocations: 29.17 MB / 2.985 GB, free: 90.71 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/4.581, allocations: 4 kB / 2.985 GB, free: 90.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.964e-06/4.581, allocations: 0 / 2.985 GB, free: 90.7 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.0003425/4.581, allocations: 379.2 kB / 2.986 GB, free: 90.29 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/4.581, allocations: 8.031 kB / 2.986 GB, free: 90.28 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/4.582, allocations: 39.86 kB / 2.986 GB, free: 90.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.537e-05/4.582, allocations: 170.9 kB / 2.986 GB, free: 90.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/4.582, allocations: 0 / 2.986 GB, free: 90.04 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/4.582, allocations: 12 kB / 2.986 GB, free: 90.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001114/4.582, allocations: 39.97 kB / 2.986 GB, free: 89.98 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/4.582, allocations: 57.67 kB / 2.986 GB, free: 89.92 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/4.582, allocations: 7.953 kB / 2.986 GB, free: 89.91 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/4.582, allocations: 0 / 2.986 GB, free: 89.91 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/4.582, allocations: 0 / 2.986 GB, free: 89.91 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/4.582, allocations: 154.1 kB / 2.986 GB, free: 89.73 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/4.582, allocations: 90.62 kB / 2.986 GB, free: 89.63 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/4.582, allocations: 25.12 kB / 2.986 GB, free: 89.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/4.582, allocations: 178.1 kB / 2.987 GB, free: 89.39 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/4.583, allocations: 38.56 kB / 2.987 GB, free: 89.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/4.583, allocations: 0 / 2.987 GB, free: 89.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001051/4.584, allocations: 480 kB / 2.987 GB, free: 88.82 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/4.584, allocations: 55.41 kB / 2.987 GB, free: 88.76 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.33e-05/4.584, allocations: 92.89 kB / 2.987 GB, free: 88.66 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/4.584, allocations: 25.7 kB / 2.987 GB, free: 88.63 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 1.816e-05/4.584, allocations: 96.56 kB / 2.987 GB, free: 88.53 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/4.584, allocations: 63.02 kB / 2.987 GB, free: 88.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/4.584, allocations: 4 kB / 2.987 GB, free: 88.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/4.584, allocations: 314.8 kB / 2.988 GB, free: 88.14 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/4.584, allocations: 32 kB / 2.988 GB, free: 88.11 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.688e-05/4.584, allocations: 64.91 kB / 2.988 GB, free: 88.04 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/4.584, allocations: 43.95 kB / 2.988 GB, free: 88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/4.584, allocations: 4 kB / 2.988 GB, free: 87.99 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001593/4.584, allocations: 129.5 kB / 2.988 GB, free: 87.86 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/4.584, allocations: 8 kB / 2.988 GB, free: 87.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/4.584, allocations: 0 / 2.988 GB, free: 87.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/4.584, allocations: 0 / 2.988 GB, free: 87.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/4.584, allocations: 39.92 kB / 2.988 GB, free: 87.81 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/4.584, allocations: 7.984 kB / 2.988 GB, free: 87.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/4.584, allocations: 4.125 kB / 2.988 GB, free: 87.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/4.584, allocations: 11.95 kB / 2.988 GB, free: 87.79 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 6.625e-05/4.585, allocations: 116.9 kB / 2.988 GB, free: 87.67 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001255/4.585, allocations: 111.2 kB / 2.988 GB, free: 87.55 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/4.585, allocations: 7.906 kB / 2.988 GB, free: 87.55 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/4.585, allocations: 12.53 kB / 2.988 GB, free: 87.54 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/4.585, allocations: 4 kB / 2.988 GB, free: 87.53 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/4.585, allocations: 0 / 2.988 GB, free: 87.53 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/4.585, allocations: 3.984 kB / 2.988 GB, free: 87.53 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/4.585, allocations: 162.2 kB / 2.988 GB, free: 87.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/4.585, allocations: 0 / 2.988 GB, free: 87.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/4.585, allocations: 43.92 kB / 2.988 GB, free: 87.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/4.585, allocations: 4 kB / 2.988 GB, free: 87.29 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/4.585, allocations: 3.984 kB / 2.988 GB, free: 87.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/4.585, allocations: 0 / 2.988 GB, free: 87.28 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/4.585, allocations: 0 / 2.988 GB, free: 87.28 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/4.585, allocations: 190.1 kB / 2.989 GB, free: 87.08 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/4.585, allocations: 89 kB / 2.989 GB, free: 86.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/4.585, allocations: 4 kB / 2.989 GB, free: 86.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/4.586, allocations: 3.984 kB / 2.989 GB, free: 86.96 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/4.586, allocations: 23.98 kB / 2.989 GB, free: 86.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/4.586, allocations: 7.938 kB / 2.989 GB, free: 86.93 MB / 1.151 GB Notification: Performance of sorting global known variables: time 1.584e-05/4.586, allocations: 79.22 kB / 2.989 GB, free: 86.86 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/4.586, allocations: 0 / 2.989 GB, free: 86.86 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002614/4.586, allocations: 51.98 kB / 2.989 GB, free: 86.8 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.0008563/4.587, allocations: 1.258 MB / 2.99 GB, free: 85.53 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001432/4.587, allocations: 91.92 kB / 2.99 GB, free: 85.44 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/4.587, allocations: 0 / 2.99 GB, free: 85.44 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/4.587, allocations: 51.92 kB / 2.99 GB, free: 85.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/4.587, allocations: 7.953 kB / 2.99 GB, free: 85.38 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/4.588, allocations: 0.4886 MB / 2.991 GB, free: 84.86 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/4.588, allocations: 0.7047 MB / 2.991 GB, free: 84.12 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001232/4.588, allocations: 28.75 kB / 2.991 GB, free: 84.09 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/4.588, allocations: 19.44 kB / 2.991 GB, free: 84.07 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/4.588, allocations: 0 / 2.991 GB, free: 84.07 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/4.613, allocations: 6.181 MB / 2.997 GB, free: 77.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/4.613, allocations: 129.4 kB / 2.998 GB, free: 77.71 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/6.337, allocations: 3.938 kB / 2.998 GB, free: 77.71 MB / 1.151 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