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.0007689/0.0007689, allocations: 98.09 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.0008505/0.0008504, allocations: 184 kB / 16.92 MB, free: 6.895 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.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.514/2.514, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 8 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5905, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001298/0.5918, allocations: 1.066 MB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.7695, allocations: 144.2 MB / 1.166 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.7696, allocations: 4 kB / 1.166 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.7697, allocations: 7.922 kB / 1.166 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.495e-05/0.7698, allocations: 11.92 kB / 1.166 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.7706, allocations: 306.8 kB / 1.166 GB, free: 13.72 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7707, allocations: 83.75 kB / 1.166 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.977e-05/0.7707, allocations: 0 / 1.166 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.7708, allocations: 31.91 kB / 1.166 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.7709, allocations: 39.83 kB / 1.166 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.7709, allocations: 4 kB / 1.166 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.7718, allocations: 0.4908 MB / 1.167 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.7718, allocations: 11.98 kB / 1.167 GB, free: 13.06 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.7719, allocations: 57.55 kB / 1.167 GB, free: 13 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.7721, allocations: 109.8 kB / 1.167 GB, free: 12.89 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7721, allocations: 4 kB / 1.167 GB, free: 12.89 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7721, allocations: 0 / 1.167 GB, free: 12.89 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.7721, allocations: 0 / 1.167 GB, free: 12.89 MB / 0.92 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.0004076/0.7725, allocations: 371.3 kB / 1.167 GB, free: 12.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.7726, allocations: 12.03 kB / 1.167 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/0.773, allocations: 36.81 kB / 1.167 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.7731, allocations: 168.4 kB / 1.167 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7731, allocations: 11.94 kB / 1.167 GB, free: 12.22 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.7731, allocations: 8 kB / 1.167 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.7733, allocations: 77.59 kB / 1.167 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.7733, allocations: 0 / 1.167 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.7733, allocations: 4 kB / 1.167 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.7734, allocations: 3.984 kB / 1.167 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.7735, allocations: 47.95 kB / 1.167 GB, free: 12.07 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.7737, allocations: 193.4 kB / 1.168 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.7739, allocations: 94.73 kB / 1.168 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.7739, allocations: 36.98 kB / 1.168 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.7742, allocations: 178.2 kB / 1.168 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.7742, allocations: 30.56 kB / 1.168 GB, free: 11.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 3.627e-06/0.7742, allocations: 4 kB / 1.168 GB, free: 11.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001294/0.7755, allocations: 0.546 MB / 1.168 GB, free: 10.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.7756, allocations: 59.34 kB / 1.169 GB, free: 10.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.7756, allocations: 97.8 kB / 1.169 GB, free: 10.67 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.7757, allocations: 33.7 kB / 1.169 GB, free: 10.63 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.7757, allocations: 80.52 kB / 1.169 GB, free: 10.55 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.474e-05/0.7758, allocations: 74.98 kB / 1.169 GB, free: 10.47 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.7758, allocations: 17.72 kB / 1.169 GB, free: 10.45 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7759, allocations: 322.8 kB / 1.169 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.776, allocations: 35.98 kB / 1.169 GB, free: 10.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.7761, allocations: 71.53 kB / 1.169 GB, free: 10.01 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.7763, allocations: 119.3 kB / 1.169 GB, free: 9.879 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7763, allocations: 0 / 1.169 GB, free: 9.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002372/0.7765, allocations: 157.5 kB / 1.169 GB, free: 9.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7766, allocations: 4 kB / 1.169 GB, free: 9.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7766, allocations: 0 / 1.169 GB, free: 9.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7766, allocations: 7.938 kB / 1.169 GB, free: 9.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.7768, allocations: 39.92 kB / 1.17 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7768, allocations: 0 / 1.17 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.7768, allocations: 15.94 kB / 1.17 GB, free: 9.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.7769, allocations: 4 kB / 1.17 GB, free: 9.648 MB / 0.92 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.792e-05/0.777, allocations: 122.3 kB / 1.17 GB, free: 9.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.777, allocations: 7.906 kB / 1.17 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.777, allocations: 24.42 kB / 1.17 GB, free: 9.488 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7771, allocations: 0 / 1.17 GB, free: 9.488 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7771, allocations: 0 / 1.17 GB, free: 9.488 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7771, allocations: 3.938 kB / 1.17 GB, free: 9.484 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.7772, allocations: 193.6 kB / 1.17 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7772, allocations: 4 kB / 1.17 GB, free: 9.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.7774, allocations: 39.92 kB / 1.17 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7775, allocations: 0 / 1.17 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.7775, allocations: 8 kB / 1.17 GB, free: 9.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7775, allocations: 3.938 kB / 1.17 GB, free: 9.191 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7775, allocations: 0 / 1.17 GB, free: 9.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.7778, allocations: 206.8 kB / 1.17 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.7779, allocations: 93.06 kB / 1.17 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.7779, allocations: 12 kB / 1.17 GB, free: 8.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.778, allocations: 8 kB / 1.17 GB, free: 8.844 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.7781, allocations: 15.91 kB / 1.17 GB, free: 8.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.7781, allocations: 8 kB / 1.17 GB, free: 8.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.7781, allocations: 79.28 kB / 1.17 GB, free: 8.742 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7781, allocations: 0 / 1.17 GB, free: 8.742 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002218/0.7784, allocations: 24 kB / 1.17 GB, free: 8.719 MB / 0.92 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.0001304/0.7785, allocations: 111.3 kB / 1.17 GB, free: 8.602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.7787, allocations: 100.2 kB / 1.171 GB, free: 8.504 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7787, allocations: 4 kB / 1.171 GB, free: 8.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.7788, allocations: 55.91 kB / 1.171 GB, free: 8.445 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.779, allocations: 12 kB / 1.171 GB, free: 8.434 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.7799, allocations: 0.6568 MB / 1.171 GB, free: 7.742 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.7801, allocations: 0.6972 MB / 1.172 GB, free: 7.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.7802, allocations: 15.44 kB / 1.172 GB, free: 7.004 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.7802, allocations: 0 / 1.172 GB, free: 7.004 MB / 0.92 GB Notification: Performance of Templates: time 0.002581/0.7828, allocations: 1.291 MB / 1.173 GB, free: 5.711 MB / 0.92 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 -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