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.001164/0.001163, allocations: 107 kB / 16.36 MB, free: 6.336 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.001156/0.001156, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.03 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002815/0.3075, allocations: 1.334 MB / 0.9524 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7295/1.037, allocations: 148.1 MB / 1.097 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.641e-05/1.037, allocations: 0 / 1.097 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/1.037, allocations: 5.156 kB / 1.097 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/1.037, allocations: 22.06 kB / 1.097 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/1.039, allocations: 320 kB / 1.097 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/1.039, allocations: 63.42 kB / 1.097 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/1.039, allocations: 11.44 kB / 1.097 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/1.039, allocations: 31.88 kB / 1.097 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/1.039, allocations: 31.38 kB / 1.097 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/1.039, allocations: 2.5 kB / 1.097 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/1.04, allocations: 407.2 kB / 1.098 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/1.04, allocations: 20.44 kB / 1.098 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/1.04, allocations: 28.44 kB / 1.098 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/1.04, allocations: 156.5 kB / 1.098 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.04, allocations: 2.859 kB / 1.098 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/1.04, allocations: 0 / 1.098 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.04, allocations: 4 kB / 1.098 GB, free: 5.621 MB / 0.8575 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.000732/1.041, allocations: 392.7 kB / 1.098 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.041, allocations: 9.922 kB / 1.098 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005025/1.042, allocations: 37.27 kB / 1.098 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.042, allocations: 170.2 kB / 1.099 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/1.042, allocations: 6.094 kB / 1.099 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.009e-05/1.042, allocations: 9.828 kB / 1.099 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/1.042, allocations: 90.23 kB / 1.099 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.042, allocations: 0 / 1.099 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/1.042, allocations: 1.156 kB / 1.099 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/1.042, allocations: 2.719 kB / 1.099 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/1.042, allocations: 45.11 kB / 1.099 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/1.043, allocations: 188.4 kB / 1.099 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/1.043, allocations: 98.31 kB / 1.099 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/1.043, allocations: 38.75 kB / 1.099 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/1.043, allocations: 173.3 kB / 1.099 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/1.043, allocations: 36.98 kB / 1.099 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/1.043, allocations: 0 / 1.099 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001383/1.045, allocations: 0.5421 MB / 1.1 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.045, allocations: 59.52 kB / 1.1 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/1.045, allocations: 94.66 kB / 1.1 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/1.045, allocations: 31.11 kB / 1.1 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/1.045, allocations: 89.39 kB / 1.1 GB, free: 20 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/1.045, allocations: 68.39 kB / 1.1 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/1.045, allocations: 37.97 kB / 1.1 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.045, allocations: 324.5 kB / 1.101 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/1.045, allocations: 39.31 kB / 1.101 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/1.045, allocations: 65.88 kB / 1.101 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/1.045, allocations: 120.2 kB / 1.101 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.045, allocations: 2.031 kB / 1.101 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000247/1.046, allocations: 157 kB / 1.101 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.046, allocations: 6.188 kB / 1.101 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.046, allocations: 1.484 kB / 1.101 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.046, allocations: 3.938 kB / 1.101 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.046, allocations: 37.8 kB / 1.101 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.046, allocations: 3.906 kB / 1.101 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/1.046, allocations: 9.281 kB / 1.101 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/1.046, allocations: 9.438 kB / 1.101 GB, free: 19.51 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.966e-05/1.046, allocations: 121.8 kB / 1.101 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/1.046, allocations: 10.02 kB / 1.101 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/1.046, allocations: 17.58 kB / 1.101 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.046, allocations: 2.219 kB / 1.101 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.046, allocations: 0.8125 kB / 1.101 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.046, allocations: 5.391 kB / 1.101 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/1.046, allocations: 191.8 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.046, allocations: 5.859 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/1.047, allocations: 37.92 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.047, allocations: 0.8438 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.047, allocations: 6.141 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.047, allocations: 4.391 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.047, allocations: 1.203 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/1.047, allocations: 210.8 kB / 1.102 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/1.047, allocations: 94.36 kB / 1.102 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/1.047, allocations: 4.094 kB / 1.102 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/1.047, allocations: 13.56 kB / 1.102 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/1.047, allocations: 8.5 kB / 1.102 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/1.047, allocations: 15.56 kB / 1.102 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.535e-05/1.047, allocations: 77.14 kB / 1.102 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.047, allocations: 0 / 1.102 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002341/1.048, allocations: 29.53 kB / 1.102 GB, free: 18.93 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.0001404/1.048, allocations: 116.3 kB / 1.102 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002259/1.048, allocations: 106.2 kB / 1.102 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.048, allocations: 0.6875 kB / 1.102 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/1.048, allocations: 56.02 kB / 1.102 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/1.048, allocations: 13.5 kB / 1.102 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007694/1.049, allocations: 0.5142 MB / 1.103 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.049, allocations: 0.6987 MB / 1.103 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001099/1.049, allocations: 23.86 kB / 1.103 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/1.05, allocations: 19.28 kB / 1.103 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/1.05, allocations: 0 / 1.103 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.003967/1.053, allocations: 1.113 MB / 1.104 GB, free: 17.67 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches