Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007724/0.0007724, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007771/0.0007771, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8411/0.8411, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.683/1.683, allocations: 377.9 MB / 0.6229 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.111e-05, allocations: 13.31 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002607/0.002638, allocations: 1.278 MB / 0.9834 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5706/0.5732, allocations: 129.1 MB / 1.109 GB, free: 24.83 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.5733, allocations: 0 / 1.109 GB, free: 24.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.5733, allocations: 1.219 kB / 1.109 GB, free: 24.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.5734, allocations: 6.422 kB / 1.109 GB, free: 24.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.5737, allocations: 98.42 kB / 1.11 GB, free: 24.78 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.5737, allocations: 36.16 kB / 1.11 GB, free: 24.77 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.5738, allocations: 2.016 kB / 1.11 GB, free: 24.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.5738, allocations: 22.69 kB / 1.11 GB, free: 24.76 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.5739, allocations: 13.34 kB / 1.11 GB, free: 24.75 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.5739, allocations: 1.25 kB / 1.11 GB, free: 24.75 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.5741, allocations: 79.3 kB / 1.11 GB, free: 24.72 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.5741, allocations: 6.891 kB / 1.11 GB, free: 24.72 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.5741, allocations: 20.66 kB / 1.11 GB, free: 24.71 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.5742, allocations: 73.28 kB / 1.11 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.5742, allocations: 0 / 1.11 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5743, allocations: 5 kB / 1.11 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.5743, allocations: 0 / 1.11 GB, free: 24.68 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002827/0.5745, allocations: 271.5 kB / 1.11 GB, free: 24.41 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5746, allocations: 9.094 kB / 1.11 GB, free: 24.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.5747, allocations: 17.77 kB / 1.11 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.838e-05/0.5747, allocations: 103.7 kB / 1.11 GB, free: 24.28 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5748, allocations: 5.906 kB / 1.11 GB, free: 24.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.5748, allocations: 12.2 kB / 1.11 GB, free: 24.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.5749, allocations: 133.4 kB / 1.11 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5749, allocations: 1.594 kB / 1.11 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.5749, allocations: 2.344 kB / 1.11 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5749, allocations: 4.375 kB / 1.11 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.575, allocations: 20.09 kB / 1.11 GB, free: 24.12 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.397e-05/0.575, allocations: 107.2 kB / 1.11 GB, free: 24 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.5751, allocations: 44.95 kB / 1.111 GB, free: 23.96 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.5751, allocations: 16.3 kB / 1.111 GB, free: 23.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.5751, allocations: 2.031 kB / 1.111 GB, free: 23.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.5752, allocations: 37.25 kB / 1.111 GB, free: 23.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.5752, allocations: 0 / 1.111 GB, free: 23.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0005093/0.5757, allocations: 305.5 kB / 1.111 GB, free: 23.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.5757, allocations: 54.62 kB / 1.111 GB, free: 23.63 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.385e-05/0.5757, allocations: 95.67 kB / 1.111 GB, free: 23.53 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.5757, allocations: 27.08 kB / 1.111 GB, free: 23.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.5757, allocations: 82.19 kB / 1.111 GB, free: 23.42 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.5758, allocations: 46.36 kB / 1.111 GB, free: 23.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.5758, allocations: 32.2 kB / 1.111 GB, free: 23.35 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.889e-05/0.5758, allocations: 315.5 kB / 1.111 GB, free: 23.04 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.5759, allocations: 20.58 kB / 1.112 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.5759, allocations: 40.78 kB / 1.112 GB, free: 23.01 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/0.5759, allocations: 65.97 kB / 1.112 GB, free: 22.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5759, allocations: 0 / 1.112 GB, free: 22.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.8e-05/0.576, allocations: 91.05 kB / 1.112 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.576, allocations: 5.625 kB / 1.112 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5761, allocations: 1.562 kB / 1.112 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5761, allocations: 0 / 1.112 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.5761, allocations: 34.77 kB / 1.112 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5762, allocations: 0.6562 kB / 1.112 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.5762, allocations: 5.375 kB / 1.112 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.5762, allocations: 2.469 kB / 1.112 GB, free: 22.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 3.788e-05/0.5762, allocations: 114.5 kB / 1.112 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.5762, allocations: 11.8 kB / 1.112 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.5762, allocations: 12.48 kB / 1.112 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5763, allocations: 1 kB / 1.112 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5763, allocations: 4.25 kB / 1.112 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5763, allocations: 0.5625 kB / 1.112 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.361e-05/0.5763, allocations: 115.9 kB / 1.112 GB, free: 22.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5763, allocations: 1.188 kB / 1.112 GB, free: 22.63 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.5764, allocations: 23.67 kB / 1.112 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5764, allocations: 6.938 kB / 1.112 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5764, allocations: 5.094 kB / 1.112 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.5764, allocations: 1.062 kB / 1.112 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5764, allocations: 2.484 kB / 1.112 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.5765, allocations: 130.1 kB / 1.112 GB, free: 22.53 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.5766, allocations: 9.984 kB / 1.112 GB, free: 22.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.5766, allocations: 6.188 kB / 1.112 GB, free: 22.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.356e-05/0.5766, allocations: 4.109 kB / 1.112 GB, free: 22.52 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.5766, allocations: 10.02 kB / 1.112 GB, free: 22.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.5767, allocations: 5.781 kB / 1.112 GB, free: 22.51 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.153e-05/0.5767, allocations: 82.03 kB / 1.112 GB, free: 22.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5767, allocations: 0 / 1.112 GB, free: 22.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001253/0.5768, allocations: 16.66 kB / 1.112 GB, free: 22.43 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 6.867e-05/0.5769, allocations: 97.23 kB / 1.112 GB, free: 22.34 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.577, allocations: 59.03 kB / 1.112 GB, free: 22.32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.577, allocations: 0 / 1.112 GB, free: 22.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.577, allocations: 27.7 kB / 1.112 GB, free: 22.31 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.5772, allocations: 10.08 kB / 1.112 GB, free: 22.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.5775, allocations: 286.9 kB / 1.113 GB, free: 22.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.5775, allocations: 68.8 kB / 1.113 GB, free: 22 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.5776, allocations: 22.72 kB / 1.113 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of SimCode: time 4.9e-07/0.5776, allocations: 0 / 1.113 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of Templates: time 0.00183/0.5794, allocations: 0.8477 MB / 1.114 GB, free: 21.95 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.971448046155274]