Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00149/0.00149, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001695/0.001695, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437.1 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.48 kB / 0.8707 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.26, allocations: 151.6 MB / 1.019 GB, free: 9.93 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002236/0.2622, allocations: 1.338 MB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5952/0.8575, allocations: 148.1 MB / 1.165 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.8576, allocations: 3.938 kB / 1.165 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.8576, allocations: 5.922 kB / 1.165 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.8578, allocations: 18.06 kB / 1.165 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.8587, allocations: 320.8 kB / 1.165 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.8588, allocations: 67.55 kB / 1.165 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.8589, allocations: 2.594 kB / 1.165 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.8589, allocations: 29.16 kB / 1.165 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.859, allocations: 30.36 kB / 1.165 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.859, allocations: 2.5 kB / 1.165 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.8599, allocations: 419.2 kB / 1.166 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.8599, allocations: 16.83 kB / 1.166 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.86, allocations: 30.47 kB / 1.166 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.8603, allocations: 152.8 kB / 1.166 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8603, allocations: 1.688 kB / 1.166 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8603, allocations: 1.031 kB / 1.166 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8603, allocations: 0 / 1.166 GB, free: 4.441 MB / 0.8731 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.0004332/0.8608, allocations: 395 kB / 1.166 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.8608, allocations: 9.172 kB / 1.166 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.8612, allocations: 41.06 kB / 1.166 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.8613, allocations: 171.9 kB / 1.166 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.8614, allocations: 6.25 kB / 1.166 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.8614, allocations: 8.938 kB / 1.166 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.8616, allocations: 76.78 kB / 1.166 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8616, allocations: 3.984 kB / 1.166 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.8616, allocations: 1.531 kB / 1.166 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8616, allocations: 5.406 kB / 1.166 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.8617, allocations: 47.53 kB / 1.166 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.8619, allocations: 186.2 kB / 1.167 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.8621, allocations: 95.14 kB / 1.167 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.8622, allocations: 35.92 kB / 1.167 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.8624, allocations: 179.8 kB / 1.167 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.8624, allocations: 40.81 kB / 1.167 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.8625, allocations: 0 / 1.167 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001286/0.8637, allocations: 0.5472 MB / 1.168 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.8638, allocations: 53.59 kB / 1.168 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.788e-05/0.8638, allocations: 99.97 kB / 1.168 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.8639, allocations: 30.83 kB / 1.168 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.8639, allocations: 81.64 kB / 1.168 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.864, allocations: 69.41 kB / 1.168 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.864, allocations: 42.11 kB / 1.168 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8642, allocations: 325.5 kB / 1.168 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.8642, allocations: 38.09 kB / 1.168 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.8643, allocations: 68.72 kB / 1.168 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.8645, allocations: 115.6 kB / 1.168 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8645, allocations: 1.125 kB / 1.168 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002283/0.8647, allocations: 160.9 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8648, allocations: 6.062 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8648, allocations: 2.734 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8648, allocations: 1.281 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.865, allocations: 36.31 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.587e-06/0.865, allocations: 1.406 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.865, allocations: 17.2 kB / 1.169 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.865, allocations: 7.219 kB / 1.169 GB, free: 1.996 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.8651, allocations: 118.8 kB / 1.169 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.8652, allocations: 13.62 kB / 1.169 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.8652, allocations: 16.44 kB / 1.169 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8652, allocations: 2.25 kB / 1.169 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8652, allocations: 1.125 kB / 1.169 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8653, allocations: 5.953 kB / 1.169 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.8654, allocations: 192.2 kB / 1.169 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8654, allocations: 1.062 kB / 1.169 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.8656, allocations: 38.78 kB / 1.169 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8656, allocations: 1.219 kB / 1.169 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.8657, allocations: 7.047 kB / 1.169 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.8657, allocations: 1.031 kB / 1.169 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8657, allocations: 7.938 kB / 1.169 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.866, allocations: 207.9 kB / 1.169 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.8661, allocations: 100.2 kB / 1.169 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.8661, allocations: 1.125 kB / 1.169 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.8662, allocations: 9.031 kB / 1.169 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.8662, allocations: 10.5 kB / 1.169 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.8663, allocations: 12.47 kB / 1.169 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.8663, allocations: 81.47 kB / 1.169 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8663, allocations: 3.938 kB / 1.169 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002268/0.8665, allocations: 25.84 kB / 1.169 GB, free: 1.305 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.8667, allocations: 104.5 kB / 1.17 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.8669, allocations: 104.5 kB / 1.17 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8669, allocations: 96 / 1.17 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.867, allocations: 64.95 kB / 1.17 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.8672, allocations: 11 kB / 1.17 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.868, allocations: 0.5148 MB / 1.17 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.8683, allocations: 0.7013 MB / 1.171 GB, free: 68 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.928e-05/0.8684, allocations: 25.33 kB / 1.171 GB, free: 60 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.8684, allocations: 15 kB / 1.171 GB, free: 52 kB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8684, allocations: 1.562 kB / 1.171 GB, free: 52 kB / 0.8731 GB Notification: Performance of Templates: time 0.003454/0.8719, allocations: 1.115 MB / 1.172 GB, free: 15.94 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches