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.0009961/0.0009963, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.34 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.384/2.384, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6101, allocations: 142.4 MB / 0.9557 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001136/0.6113, allocations: 1.057 MB / 0.9567 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.7583, allocations: 144.3 MB / 1.098 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.7584, allocations: 3.938 kB / 1.098 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.7584, allocations: 0 / 1.098 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.7585, allocations: 11.92 kB / 1.098 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.7595, allocations: 298.8 kB / 1.098 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.7596, allocations: 91.72 kB / 1.098 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.121e-05/0.7597, allocations: 0 / 1.098 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.7597, allocations: 35.84 kB / 1.098 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.7598, allocations: 31.89 kB / 1.098 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.7598, allocations: 4 kB / 1.098 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000918/0.7608, allocations: 0.4909 MB / 1.099 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.7608, allocations: 19.92 kB / 1.099 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.7609, allocations: 53.61 kB / 1.099 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.7611, allocations: 109.9 kB / 1.099 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7612, allocations: 4 kB / 1.099 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7612, allocations: 0 / 1.099 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.7612, allocations: 0 / 1.099 GB, free: 12.52 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.0004311/0.7616, allocations: 371.4 kB / 1.099 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.7617, allocations: 12.03 kB / 1.099 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.7621, allocations: 40.8 kB / 1.099 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.7622, allocations: 164.3 kB / 1.099 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.7622, allocations: 7.938 kB / 1.099 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.7623, allocations: 15.94 kB / 1.099 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.7624, allocations: 77.64 kB / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.7625, allocations: 0 / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.7625, allocations: 0 / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7625, allocations: 7.984 kB / 1.099 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.285e-05/0.7626, allocations: 47.95 kB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.7628, allocations: 189.4 kB / 1.1 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.763, allocations: 90.62 kB / 1.1 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.763, allocations: 32.84 kB / 1.1 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.7633, allocations: 186.2 kB / 1.1 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.7633, allocations: 30.56 kB / 1.1 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.7633, allocations: 0 / 1.1 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001296/0.7646, allocations: 0.5389 MB / 1.1 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.7647, allocations: 51.41 kB / 1.101 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.7647, allocations: 105.8 kB / 1.101 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.7648, allocations: 33.7 kB / 1.101 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.7648, allocations: 84.45 kB / 1.101 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.7649, allocations: 67 kB / 1.101 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.7649, allocations: 25.7 kB / 1.101 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7651, allocations: 327 kB / 1.101 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.7651, allocations: 31.98 kB / 1.101 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.7652, allocations: 71.41 kB / 1.101 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.7654, allocations: 115.3 kB / 1.101 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7654, allocations: 4 kB / 1.101 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002252/0.7657, allocations: 153.5 kB / 1.101 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7657, allocations: 13.66 kB / 1.101 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7657, allocations: 0 / 1.101 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.7657, allocations: 7.938 kB / 1.102 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.7659, allocations: 43.97 kB / 1.102 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.7659, allocations: 0 / 1.102 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.12e-05/0.766, allocations: 11.94 kB / 1.102 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.766, allocations: 4 kB / 1.102 GB, free: 9.285 MB / 0.8575 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 9.331e-05/0.7661, allocations: 121.8 kB / 1.102 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.7661, allocations: 7.906 kB / 1.102 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.7662, allocations: 20.44 kB / 1.102 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.7662, allocations: 4 kB / 1.102 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.7662, allocations: 0 / 1.102 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.7662, allocations: 7.922 kB / 1.102 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.7664, allocations: 189.6 kB / 1.102 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.7664, allocations: 0 / 1.102 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.7666, allocations: 43.92 kB / 1.102 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7666, allocations: 0 / 1.102 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.7666, allocations: 0 / 1.102 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7666, allocations: 4.125 kB / 1.102 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7666, allocations: 8 kB / 1.102 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.7669, allocations: 214.5 kB / 1.102 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.767, allocations: 89 kB / 1.102 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.7671, allocations: 8.062 kB / 1.102 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.7672, allocations: 8 kB / 1.102 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.7672, allocations: 11.92 kB / 1.102 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.7672, allocations: 4 kB / 1.102 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.7673, allocations: 91.22 kB / 1.102 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7673, allocations: 3.938 kB / 1.102 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002253/0.7675, allocations: 24 kB / 1.102 GB, free: 8.344 MB / 0.8575 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.000132/0.7677, allocations: 107.2 kB / 1.102 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.7679, allocations: 105.9 kB / 1.103 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7679, allocations: 0 / 1.103 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.768, allocations: 56.02 kB / 1.103 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.7682, allocations: 22.09 kB / 1.103 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.7691, allocations: 0.6453 MB / 1.103 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.7694, allocations: 0.705 MB / 1.104 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.7694, allocations: 15.44 kB / 1.104 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.7694, allocations: 0 / 1.104 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of Templates: time 0.003066/0.7725, allocations: 1.284 MB / 1.105 GB, free: 5.344 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches