Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001929/0.001929, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001639/0.001639, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.474/1.474, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.847/2.847, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.28e-05, allocations: 10.92 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002826/0.002858, allocations: 1.285 MB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.191/0.1939, allocations: 129.1 MB / 0.9137 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.1939, allocations: 0 / 0.9137 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.194, allocations: 0 / 0.9137 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.194, allocations: 0 / 0.9137 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.1946, allocations: 103.4 kB / 0.9138 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1947, allocations: 39.84 kB / 0.9138 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.1947, allocations: 4 kB / 0.9138 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.1948, allocations: 15.98 kB / 0.9138 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.1949, allocations: 19.91 kB / 0.9138 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1949, allocations: 0 / 0.9138 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.1952, allocations: 83.69 kB / 0.9139 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.1952, allocations: 0 / 0.9139 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1952, allocations: 15.98 kB / 0.9139 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1955, allocations: 75.75 kB / 0.914 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1955, allocations: 0 / 0.914 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.667e-06/0.1955, allocations: 3.984 kB / 0.914 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1955, allocations: 0 / 0.914 GB, free: 9.672 MB / 0.8698 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.0004606/0.1959, allocations: 270.3 kB / 0.9143 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.196, allocations: 8.031 kB / 0.9143 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.1962, allocations: 24.75 kB / 0.9143 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1964, allocations: 105.8 kB / 0.9144 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1964, allocations: 4.375 kB / 0.9144 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1965, allocations: 12.31 kB / 0.9144 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1967, allocations: 138.7 kB / 0.9146 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1967, allocations: 0 / 0.9146 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1967, allocations: 4 kB / 0.9146 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1967, allocations: 0 / 0.9146 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.1967, allocations: 15.98 kB / 0.9146 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1969, allocations: 105.3 kB / 0.9147 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.197, allocations: 54.44 kB / 0.9147 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.1971, allocations: 16.84 kB / 0.9147 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1971, allocations: 4 kB / 0.9147 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.1971, allocations: 34.5 kB / 0.9148 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1971, allocations: 4 kB / 0.9148 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0008493/0.198, allocations: 301.3 kB / 0.9151 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.198, allocations: 51.41 kB / 0.9151 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.1981, allocations: 97.84 kB / 0.9152 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1981, allocations: 29.7 kB / 0.9152 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.1982, allocations: 80.14 kB / 0.9153 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/0.1983, allocations: 51.52 kB / 0.9154 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.1983, allocations: 25.72 kB / 0.9154 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.1985, allocations: 323 kB / 0.9157 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.1985, allocations: 16 kB / 0.9157 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.1986, allocations: 33.7 kB / 0.9157 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1987, allocations: 61.7 kB / 0.9158 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1987, allocations: 0 / 0.9158 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001707/0.1989, allocations: 101.5 kB / 0.9159 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1989, allocations: 8 kB / 0.9159 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1989, allocations: 3.938 kB / 0.9159 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1989, allocations: 0 / 0.9159 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.199, allocations: 27.98 kB / 0.9159 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-06/0.1991, allocations: 3.938 kB / 0.9159 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.1991, allocations: 4 kB / 0.916 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1991, allocations: 4.703 kB / 0.916 GB, free: 7.461 MB / 0.8698 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 0.0001148/0.1992, allocations: 117.8 kB / 0.9161 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1992, allocations: 11.94 kB / 0.9161 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1993, allocations: 7.969 kB / 0.9161 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1993, allocations: 4 kB / 0.9161 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1993, allocations: 0 / 0.9161 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1993, allocations: 3.984 kB / 0.9161 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1994, allocations: 113.3 kB / 0.9162 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1994, allocations: 0 / 0.9162 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1996, allocations: 35.92 kB / 0.9162 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1996, allocations: 3.938 kB / 0.9162 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1996, allocations: 0 / 0.9162 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1996, allocations: 4 kB / 0.9162 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1996, allocations: 0 / 0.9162 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1999, allocations: 133 kB / 0.9164 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.1999, allocations: 19.92 kB / 0.9164 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1999, allocations: 0 / 0.9164 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.2, allocations: 4 kB / 0.9164 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.2, allocations: 11.98 kB / 0.9164 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2001, allocations: 0 / 0.9164 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.2001, allocations: 83.28 kB / 0.9165 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.2001, allocations: 0 / 0.9165 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002183/0.2003, allocations: 16 kB / 0.9165 GB, free: 6.844 MB / 0.8698 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 0.0001362/0.2005, allocations: 103.2 kB / 0.9166 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.2006, allocations: 51.98 kB / 0.9166 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2006, allocations: 0 / 0.9166 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.2007, allocations: 27.92 kB / 0.9167 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.201, allocations: 28.31 kB / 0.9167 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.2016, allocations: 256.3 kB / 0.9169 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.2017, allocations: 71.34 kB / 0.917 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.605e-05/0.2018, allocations: 12.72 kB / 0.917 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.2018, allocations: 16.5 kB / 0.917 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/0.2018, allocations: 0 / 0.917 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of Templates: time 0.004052/0.2059, allocations: 0.8468 MB / 0.9179 GB, free: 5.418 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.949806390912272]