Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007766/0.007766, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001555/0.001556, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.12 kB / 1.054 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9014, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002429/0.9039, allocations: 1.334 MB / 1.209 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.164/1.068, allocations: 148.1 MB / 1.354 GB, free: 7.664 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/1.068, allocations: 0 / 1.354 GB, free: 7.664 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/1.068, allocations: 7.922 kB / 1.354 GB, free: 7.656 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/1.068, allocations: 7.922 kB / 1.354 GB, free: 7.648 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009443/1.069, allocations: 338.6 kB / 1.354 GB, free: 7.316 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/1.069, allocations: 63.77 kB / 1.354 GB, free: 7.254 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/1.069, allocations: 8 kB / 1.354 GB, free: 7.246 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/1.069, allocations: 23.97 kB / 1.354 GB, free: 7.223 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/1.07, allocations: 47.77 kB / 1.354 GB, free: 7.176 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/1.07, allocations: 0 / 1.354 GB, free: 7.176 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/1.07, allocations: 402.9 kB / 1.354 GB, free: 6.781 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/1.07, allocations: 15.97 kB / 1.354 GB, free: 6.766 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/1.07, allocations: 31.86 kB / 1.355 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/1.071, allocations: 157.3 kB / 1.355 GB, free: 6.586 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.071, allocations: 0 / 1.355 GB, free: 6.586 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/1.071, allocations: 0 / 1.355 GB, free: 6.586 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.071, allocations: 0 / 1.355 GB, free: 6.586 MB / 1.076 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.0004761/1.071, allocations: 403.3 kB / 1.355 GB, free: 6.145 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.071, allocations: 8.031 kB / 1.355 GB, free: 6.137 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004105/1.072, allocations: 32.91 kB / 1.355 GB, free: 6.105 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.072, allocations: 164.4 kB / 1.355 GB, free: 5.906 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/1.072, allocations: 11.94 kB / 1.355 GB, free: 5.895 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/1.072, allocations: 11.91 kB / 1.355 GB, free: 5.883 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/1.072, allocations: 81.53 kB / 1.355 GB, free: 5.797 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.072, allocations: 4 kB / 1.355 GB, free: 5.793 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/1.072, allocations: 7.984 kB / 1.355 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.072, allocations: 0 / 1.355 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/1.072, allocations: 39.97 kB / 1.355 GB, free: 5.746 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/1.072, allocations: 189.5 kB / 1.356 GB, free: 5.512 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/1.073, allocations: 106.6 kB / 1.356 GB, free: 5.398 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/1.073, allocations: 28.84 kB / 1.356 GB, free: 5.367 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/1.073, allocations: 178.2 kB / 1.356 GB, free: 5.156 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/1.073, allocations: 34.56 kB / 1.356 GB, free: 5.113 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/1.073, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001263/1.074, allocations: 0.5349 MB / 1.356 GB, free: 4.527 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.074, allocations: 59.34 kB / 1.356 GB, free: 4.457 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/1.074, allocations: 101.8 kB / 1.357 GB, free: 4.348 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/1.074, allocations: 25.7 kB / 1.357 GB, free: 4.316 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/1.074, allocations: 84.52 kB / 1.357 GB, free: 4.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/1.075, allocations: 70.98 kB / 1.357 GB, free: 4.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/1.075, allocations: 53.67 kB / 1.357 GB, free: 4.102 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.075, allocations: 314.8 kB / 1.357 GB, free: 3.785 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/1.075, allocations: 35.97 kB / 1.357 GB, free: 3.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/1.075, allocations: 71.41 kB / 1.357 GB, free: 3.668 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/1.075, allocations: 115.4 kB / 1.357 GB, free: 3.543 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.075, allocations: 4 kB / 1.357 GB, free: 3.539 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002059/1.075, allocations: 157.5 kB / 1.357 GB, free: 3.379 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.075, allocations: 4 kB / 1.357 GB, free: 3.375 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.075, allocations: 4 kB / 1.357 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.075, allocations: 0 / 1.357 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/1.075, allocations: 39.92 kB / 1.358 GB, free: 3.332 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.075, allocations: 0 / 1.358 GB, free: 3.332 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/1.076, allocations: 11.94 kB / 1.358 GB, free: 3.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/1.076, allocations: 4 kB / 1.358 GB, free: 3.316 MB / 1.076 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.008e-05/1.076, allocations: 133.7 kB / 1.358 GB, free: 3.176 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/1.076, allocations: 8 kB / 1.358 GB, free: 3.168 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/1.076, allocations: 16.44 kB / 1.358 GB, free: 3.152 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.076, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.076, allocations: 7.984 kB / 1.358 GB, free: 3.145 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.076, allocations: 3.938 kB / 1.358 GB, free: 3.141 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/1.076, allocations: 189.6 kB / 1.358 GB, free: 2.906 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.076, allocations: 4 kB / 1.358 GB, free: 2.902 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/1.076, allocations: 39.92 kB / 1.358 GB, free: 2.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.076, allocations: 8.062 kB / 1.358 GB, free: 2.855 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.076, allocations: 8 kB / 1.358 GB, free: 2.848 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.076, allocations: 3.984 kB / 1.358 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.076, allocations: 0 / 1.358 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/1.076, allocations: 213.2 kB / 1.358 GB, free: 2.621 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/1.077, allocations: 89.09 kB / 1.358 GB, free: 2.516 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.077, allocations: 4.062 kB / 1.358 GB, free: 2.512 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/1.077, allocations: 11.98 kB / 1.358 GB, free: 2.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/1.077, allocations: 11.92 kB / 1.358 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/1.077, allocations: 16 kB / 1.358 GB, free: 2.473 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.392e-05/1.077, allocations: 75.28 kB / 1.358 GB, free: 2.398 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.077, allocations: 0 / 1.358 GB, free: 2.398 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002169/1.077, allocations: 28 kB / 1.358 GB, free: 2.371 MB / 1.076 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.0001238/1.077, allocations: 103.2 kB / 1.358 GB, free: 2.258 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002129/1.077, allocations: 103.9 kB / 1.359 GB, free: 2.156 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.077, allocations: 4.094 kB / 1.359 GB, free: 2.152 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/1.077, allocations: 51.91 kB / 1.359 GB, free: 2.102 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/1.078, allocations: 22.12 kB / 1.359 GB, free: 2.082 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/1.078, allocations: 0.5051 MB / 1.359 GB, free: 1.551 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/1.079, allocations: 0.7047 MB / 1.36 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.569e-05/1.079, allocations: 16.64 kB / 1.36 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/1.079, allocations: 15.44 kB / 1.36 GB, free: 0.793 MB / 1.076 GB Notification: Performance of SimCode: time 2.41e-07/1.079, allocations: 0 / 1.36 GB, free: 0.793 MB / 1.076 GB Notification: Performance of Templates: time 0.003431/1.082, allocations: 1.136 MB / 1.361 GB, free: 15.66 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches