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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.577/2.577, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.000359, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8327, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001142/0.8339, allocations: 1.044 MB / 0.9554 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/1.009, allocations: 134.5 MB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/1.009, allocations: 4 kB / 1.087 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/1.009, allocations: 7.938 kB / 1.087 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/1.009, allocations: 11.91 kB / 1.087 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/1.01, allocations: 222.9 kB / 1.087 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/1.01, allocations: 75.81 kB / 1.087 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/1.011, allocations: 3.938 kB / 1.087 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/1.011, allocations: 31.95 kB / 1.087 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/1.011, allocations: 35.78 kB / 1.087 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/1.011, allocations: 4 kB / 1.087 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/1.011, allocations: 247.3 kB / 1.087 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/1.011, allocations: 19.91 kB / 1.087 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/1.011, allocations: 37.7 kB / 1.087 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/1.012, allocations: 97.78 kB / 1.088 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.012, allocations: 4 kB / 1.088 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/1.012, allocations: 0 / 1.088 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.977e-06/1.012, allocations: 0 / 1.088 GB, free: 6.844 MB / 0.8419 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.0004267/1.012, allocations: 379.1 kB / 1.088 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.012, allocations: 8.031 kB / 1.088 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/1.013, allocations: 35.86 kB / 1.088 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.013, allocations: 167.1 kB / 1.088 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.013, allocations: 15.94 kB / 1.088 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/1.013, allocations: 8 kB / 1.088 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/1.013, allocations: 77.64 kB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/1.013, allocations: 0 / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.013, allocations: 3.953 kB / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.013, allocations: 4 kB / 1.088 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/1.013, allocations: 43.95 kB / 1.088 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/1.013, allocations: 185.5 kB / 1.088 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/1.013, allocations: 94.62 kB / 1.089 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/1.013, allocations: 33.17 kB / 1.089 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/1.014, allocations: 170.2 kB / 1.089 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.014, allocations: 42.5 kB / 1.089 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/1.014, allocations: 3.938 kB / 1.089 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001187/1.015, allocations: 0.5459 MB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.015, allocations: 55.41 kB / 1.089 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/1.015, allocations: 101.9 kB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/1.015, allocations: 33.73 kB / 1.089 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/1.015, allocations: 80.52 kB / 1.09 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/1.015, allocations: 67 kB / 1.09 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/1.015, allocations: 4 kB / 1.09 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.015, allocations: 322.8 kB / 1.09 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/1.015, allocations: 31.98 kB / 1.09 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/1.016, allocations: 64.02 kB / 1.09 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/1.016, allocations: 51.98 kB / 1.09 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.016, allocations: 4 kB / 1.09 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002174/1.016, allocations: 153.5 kB / 1.09 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.016, allocations: 11.98 kB / 1.09 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.016, allocations: 0 / 1.09 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/1.016, allocations: 3.953 kB / 1.09 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/1.016, allocations: 35.98 kB / 1.09 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.016, allocations: 7.938 kB / 1.09 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/1.016, allocations: 4 kB / 1.09 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.016, allocations: 16 kB / 1.09 GB, free: 3.715 MB / 0.8419 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 9.712e-05/1.016, allocations: 113.8 kB / 1.09 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/1.016, allocations: 8.031 kB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/1.016, allocations: 16.44 kB / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.016, allocations: 8 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.016, allocations: 3.953 kB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.016, allocations: 3.984 kB / 1.09 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/1.016, allocations: 193.6 kB / 1.091 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.017, allocations: 0 / 1.091 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/1.017, allocations: 43.92 kB / 1.091 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.017, allocations: 0 / 1.091 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/1.017, allocations: 4 kB / 1.091 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.017, allocations: 0 / 1.091 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.017, allocations: 3.953 kB / 1.091 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/1.017, allocations: 216.3 kB / 1.091 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/1.017, allocations: 96.94 kB / 1.091 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/1.017, allocations: 4.062 kB / 1.091 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.017, allocations: 8 kB / 1.091 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/1.017, allocations: 15.94 kB / 1.091 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/1.017, allocations: 4 kB / 1.091 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.174e-05/1.017, allocations: 83.27 kB / 1.091 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/1.017, allocations: 0 / 1.091 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000218/1.018, allocations: 31.94 kB / 1.091 GB, free: 2.777 MB / 0.8419 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.000128/1.018, allocations: 111.1 kB / 1.091 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001902/1.018, allocations: 103.8 kB / 1.091 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.018, allocations: 0 / 1.091 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/1.018, allocations: 53.81 kB / 1.091 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/1.018, allocations: 17.77 kB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/1.019, allocations: 0.618 MB / 1.092 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.019, allocations: 0.7011 MB / 1.093 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001418/1.019, allocations: 24.62 kB / 1.093 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/1.02, allocations: 15.44 kB / 1.093 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/1.02, allocations: 0 / 1.093 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of Templates: time 0.003312/1.023, allocations: 1.016 MB / 1.094 GB, free: 68 kB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches