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: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001069/0.001069, allocations: 180.1 kB / 492.3 MB, free: 0.6211 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.585/1.585, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0009691/0.000969, allocations: 92 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.567e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3221, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.858/5.18, allocations: 1.744 GB / 2.957 GB, free: 96.35 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/5.181, allocations: 73.95 kB / 2.957 GB, free: 96.31 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05853/5.239, allocations: 29.71 MB / 2.986 GB, free: 71.04 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.704e-06/5.239, allocations: 0 / 2.986 GB, free: 71.04 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.005e-06/5.239, allocations: 3.938 kB / 2.986 GB, free: 71.03 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.0004197/5.24, allocations: 375 kB / 2.986 GB, free: 70.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/5.24, allocations: 16.03 kB / 2.986 GB, free: 70.61 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/5.24, allocations: 35.83 kB / 2.986 GB, free: 70.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/5.24, allocations: 174.9 kB / 2.986 GB, free: 70.36 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/5.24, allocations: 8 kB / 2.986 GB, free: 70.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/5.24, allocations: 12 kB / 2.986 GB, free: 70.34 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/5.241, allocations: 65.67 kB / 2.986 GB, free: 70.27 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/5.241, allocations: 0 / 2.986 GB, free: 70.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/5.241, allocations: 4 kB / 2.986 GB, free: 70.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/5.241, allocations: 3.953 kB / 2.986 GB, free: 70.26 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/5.241, allocations: 43.97 kB / 2.987 GB, free: 70.22 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/5.241, allocations: 185.5 kB / 2.987 GB, free: 69.99 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/5.241, allocations: 86.64 kB / 2.987 GB, free: 69.89 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/5.241, allocations: 29.19 kB / 2.987 GB, free: 69.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/5.241, allocations: 182.1 kB / 2.987 GB, free: 69.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/5.241, allocations: 38.56 kB / 2.987 GB, free: 69.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 2.234e-06/5.241, allocations: 0 / 2.987 GB, free: 69.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001178/5.243, allocations: 0.5087 MB / 2.988 GB, free: 69.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/5.243, allocations: 63.3 kB / 2.988 GB, free: 68.97 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/5.243, allocations: 88.98 kB / 2.988 GB, free: 68.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/5.243, allocations: 33.7 kB / 2.988 GB, free: 68.84 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 1.66e-05/5.243, allocations: 80.52 kB / 2.988 GB, free: 68.75 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/5.243, allocations: 71 kB / 2.988 GB, free: 68.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-06/5.243, allocations: 4 kB / 2.988 GB, free: 68.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/5.243, allocations: 322.8 kB / 2.988 GB, free: 68.35 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/5.243, allocations: 32.12 kB / 2.988 GB, free: 68.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/5.243, allocations: 68.84 kB / 2.988 GB, free: 68.24 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/5.243, allocations: 43.97 kB / 2.988 GB, free: 68.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/5.243, allocations: 0 / 2.988 GB, free: 68.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001982/5.243, allocations: 153.4 kB / 2.988 GB, free: 68.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/5.243, allocations: 8 kB / 2.988 GB, free: 68.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/5.243, allocations: 0 / 2.988 GB, free: 68.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/5.243, allocations: 0 / 2.988 GB, free: 68.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/5.243, allocations: 39.98 kB / 2.988 GB, free: 68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/5.244, allocations: 7.938 kB / 2.988 GB, free: 67.99 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/5.244, allocations: 7.953 kB / 2.988 GB, free: 67.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/5.244, allocations: 4 kB / 2.988 GB, free: 67.98 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 8.329e-05/5.244, allocations: 116.9 kB / 2.989 GB, free: 67.86 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/5.244, allocations: 7.906 kB / 2.989 GB, free: 67.85 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/5.244, allocations: 20.22 kB / 2.989 GB, free: 67.83 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/5.244, allocations: 0 / 2.989 GB, free: 67.83 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/5.244, allocations: 4.062 kB / 2.989 GB, free: 67.83 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/5.244, allocations: 7.984 kB / 2.989 GB, free: 67.82 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/5.244, allocations: 201.6 kB / 2.989 GB, free: 67.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/5.244, allocations: 0 / 2.989 GB, free: 67.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/5.244, allocations: 39.92 kB / 2.989 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/5.244, allocations: 0 / 2.989 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/5.244, allocations: 8 kB / 2.989 GB, free: 67.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/5.244, allocations: 0 / 2.989 GB, free: 67.53 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/5.244, allocations: 0 / 2.989 GB, free: 67.53 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/5.244, allocations: 215.2 kB / 2.989 GB, free: 67.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/5.245, allocations: 89 kB / 2.989 GB, free: 67.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/5.245, allocations: 8.062 kB / 2.989 GB, free: 67.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/5.245, allocations: 8 kB / 2.989 GB, free: 67.18 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/5.245, allocations: 11.92 kB / 2.989 GB, free: 67.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/5.245, allocations: 4 kB / 2.989 GB, free: 67.16 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.991e-05/5.245, allocations: 87.27 kB / 2.989 GB, free: 67.08 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/5.245, allocations: 0 / 2.989 GB, free: 67.08 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000356/5.245, allocations: 56.09 kB / 2.989 GB, free: 67.02 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.000718/5.246, allocations: 0.5648 MB / 2.99 GB, free: 66.45 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001823/5.246, allocations: 99.86 kB / 2.99 GB, free: 66.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/5.246, allocations: 0 / 2.99 GB, free: 66.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/5.246, allocations: 53.12 kB / 2.99 GB, free: 66.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/5.246, allocations: 19.89 kB / 2.99 GB, free: 66.29 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/5.247, allocations: 458.7 kB / 2.99 GB, free: 65.81 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/5.247, allocations: 0.7011 MB / 2.991 GB, free: 65.08 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001339/5.247, allocations: 24.75 kB / 2.991 GB, free: 65.06 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/5.247, allocations: 19.38 kB / 2.991 GB, free: 65.04 MB / 1.151 GB Notification: Performance of SimCode: time 1.313e-06/5.247, allocations: 4 kB / 2.991 GB, free: 65.04 MB / 1.151 GB Notification: Performance of Templates: time 0.01248/5.26, allocations: 9.784 MB / 3.001 GB, free: 55.24 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.makefile (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 & ./Buildings_9_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirDerivativeCheck.csv","../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches