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.046/2.046, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009541/0.0009542, allocations: 184.7 kB / 487.4 MB, free: 5.023 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.294/1.294, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.00085/0.0008502, allocations: 91.91 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.136e-05/1.139e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.248, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.916/4.164, allocations: 1.744 GB / 2.95 GB, free: 115.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/4.165, allocations: 73.17 kB / 2.95 GB, free: 115.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05465/4.219, allocations: 29.17 MB / 2.978 GB, free: 91.17 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/4.219, allocations: 0 / 2.978 GB, free: 91.17 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.077e-06/4.219, allocations: 4 kB / 2.978 GB, free: 91.16 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.0003897/4.22, allocations: 378.9 kB / 2.979 GB, free: 90.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/4.22, allocations: 8.031 kB / 2.979 GB, free: 90.74 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/4.22, allocations: 43.81 kB / 2.979 GB, free: 90.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/4.22, allocations: 163 kB / 2.979 GB, free: 90.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/4.22, allocations: 4 kB / 2.979 GB, free: 90.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/4.221, allocations: 8 kB / 2.979 GB, free: 90.49 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001548/4.221, allocations: 35.97 kB / 2.979 GB, free: 90.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/4.221, allocations: 65.61 kB / 2.979 GB, free: 90.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/4.221, allocations: 0 / 2.979 GB, free: 90.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/4.221, allocations: 7.953 kB / 2.979 GB, free: 90.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/4.221, allocations: 0 / 2.979 GB, free: 90.38 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/4.221, allocations: 158.1 kB / 2.979 GB, free: 90.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/4.221, allocations: 70.72 kB / 2.979 GB, free: 90.11 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/4.221, allocations: 28.86 kB / 2.979 GB, free: 90.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/4.221, allocations: 178.2 kB / 2.979 GB, free: 89.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/4.222, allocations: 42.55 kB / 2.979 GB, free: 89.81 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/4.222, allocations: 3.938 kB / 2.979 GB, free: 89.81 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001259/4.223, allocations: 488.5 kB / 2.98 GB, free: 89.28 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/4.223, allocations: 55.41 kB / 2.98 GB, free: 89.21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/4.223, allocations: 88.98 kB / 2.98 GB, free: 89.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/4.223, allocations: 29.7 kB / 2.98 GB, free: 89.09 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/4.223, allocations: 80.52 kB / 2.98 GB, free: 89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/4.223, allocations: 63.02 kB / 2.98 GB, free: 88.94 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/4.223, allocations: 0 / 2.98 GB, free: 88.94 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/4.223, allocations: 326.9 kB / 2.98 GB, free: 88.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/4.223, allocations: 32 kB / 2.98 GB, free: 88.58 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/4.223, allocations: 60.03 kB / 2.98 GB, free: 88.51 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/4.223, allocations: 43.95 kB / 2.981 GB, free: 88.46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/4.223, allocations: 0 / 2.981 GB, free: 88.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001801/4.224, allocations: 145.4 kB / 2.981 GB, free: 88.32 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/4.224, allocations: 8 kB / 2.981 GB, free: 88.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/4.224, allocations: 0 / 2.981 GB, free: 88.31 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/4.224, allocations: 8 kB / 2.981 GB, free: 88.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/4.224, allocations: 31.98 kB / 2.981 GB, free: 88.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/4.224, allocations: 4 kB / 2.981 GB, free: 88.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/4.224, allocations: 0 / 2.981 GB, free: 88.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/4.224, allocations: 12 kB / 2.981 GB, free: 88.25 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.989e-05/4.224, allocations: 112.8 kB / 2.981 GB, free: 88.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/4.224, allocations: 7.906 kB / 2.981 GB, free: 88.13 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/4.224, allocations: 12.53 kB / 2.981 GB, free: 88.12 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/4.224, allocations: 8 kB / 2.981 GB, free: 88.11 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/4.224, allocations: 0 / 2.981 GB, free: 88.11 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/4.224, allocations: 3.984 kB / 2.981 GB, free: 88.11 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/4.224, allocations: 166.2 kB / 2.981 GB, free: 87.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/4.224, allocations: 0 / 2.981 GB, free: 87.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/4.224, allocations: 39.92 kB / 2.981 GB, free: 87.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/4.224, allocations: 0 / 2.981 GB, free: 87.87 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/4.224, allocations: 0 / 2.981 GB, free: 87.87 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/4.224, allocations: 3.984 kB / 2.981 GB, free: 87.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/4.224, allocations: 4 kB / 2.981 GB, free: 87.86 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/4.225, allocations: 187.7 kB / 2.981 GB, free: 87.66 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/4.225, allocations: 93.06 kB / 2.981 GB, free: 87.55 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/4.225, allocations: 4 kB / 2.981 GB, free: 87.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/4.225, allocations: 3.984 kB / 2.981 GB, free: 87.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/4.225, allocations: 11.98 kB / 2.981 GB, free: 87.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/4.225, allocations: 11.94 kB / 2.981 GB, free: 87.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 1.832e-05/4.225, allocations: 75.28 kB / 2.981 GB, free: 87.45 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.01e-07/4.225, allocations: 96 / 2.981 GB, free: 87.45 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002766/4.225, allocations: 63.92 kB / 2.982 GB, free: 87.39 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.0006776/4.226, allocations: 0.6307 MB / 2.982 GB, free: 86.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001581/4.226, allocations: 93.36 kB / 2.982 GB, free: 86.66 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/4.226, allocations: 0 / 2.982 GB, free: 86.66 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/4.226, allocations: 47.92 kB / 2.982 GB, free: 86.61 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/4.226, allocations: 14.33 kB / 2.982 GB, free: 86.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/4.227, allocations: 456.9 kB / 2.983 GB, free: 86.13 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/4.227, allocations: 0.7008 MB / 2.983 GB, free: 85.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001256/4.227, allocations: 28.75 kB / 2.983 GB, free: 85.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/4.227, allocations: 15.44 kB / 2.983 GB, free: 85.36 MB / 1.151 GB Notification: Performance of SimCode: time 2e-07/4.227, allocations: 0 / 2.983 GB, free: 85.36 MB / 1.151 GB Notification: Performance of Templates: time 0.006233/4.233, allocations: 4.135 MB / 2.987 GB, free: 81.22 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