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.002013/0.002013, 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.002418/0.002418, 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.88/2.88, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.294e-06/2.294e-06, allocations: 0.7656 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.566e-05, allocations: 3.438 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002517/0.002552, allocations: 1.291 MB / 0.812 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1935/0.1961, allocations: 129.1 MB / 0.9381 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.1961, allocations: 0 / 0.9381 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.1961, allocations: 3.938 kB / 0.9381 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-05/0.1962, allocations: 7.922 kB / 0.9381 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.1967, allocations: 99.38 kB / 0.9382 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.1968, allocations: 39.84 kB / 0.9382 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.1968, allocations: 4 kB / 0.9382 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.1969, allocations: 19.97 kB / 0.9383 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.197, allocations: 11.98 kB / 0.9383 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.197, allocations: 0 / 0.9383 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.1973, allocations: 87.69 kB / 0.9383 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1973, allocations: 0 / 0.9383 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.1974, allocations: 19.97 kB / 0.9384 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1976, allocations: 71.75 kB / 0.9384 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1976, allocations: 0 / 0.9384 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1976, allocations: 7.938 kB / 0.9384 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1976, allocations: 0 / 0.9384 GB, free: 14.96 MB / 0.9011 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.0005046/0.1981, allocations: 266.3 kB / 0.9387 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1981, allocations: 12.03 kB / 0.9387 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.1984, allocations: 24.75 kB / 0.9387 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1985, allocations: 105.8 kB / 0.9388 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1985, allocations: 8.359 kB / 0.9388 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.1986, allocations: 4.375 kB / 0.9388 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1988, allocations: 134.7 kB / 0.939 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1988, allocations: 4 kB / 0.939 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1988, allocations: 4 kB / 0.939 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1988, allocations: 0 / 0.939 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.1989, allocations: 15.92 kB / 0.939 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.1991, allocations: 117.3 kB / 0.9391 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1992, allocations: 46.56 kB / 0.9391 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.1993, allocations: 12.84 kB / 0.9392 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1993, allocations: 0 / 0.9392 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.1993, allocations: 42.5 kB / 0.9392 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 7.32e-07/0.1993, allocations: 0 / 0.9392 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0008861/0.2002, allocations: 309.2 kB / 0.9395 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.2003, allocations: 51.41 kB / 0.9395 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2004, allocations: 89.86 kB / 0.9396 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2004, allocations: 33.7 kB / 0.9397 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.2005, allocations: 80.14 kB / 0.9397 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.2005, allocations: 43.58 kB / 0.9398 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.2006, allocations: 25.72 kB / 0.9398 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2008, allocations: 322.8 kB / 0.9401 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.2008, allocations: 12 kB / 0.9401 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.2009, allocations: 45.83 kB / 0.9402 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.201, allocations: 61.64 kB / 0.9402 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.201, allocations: 0 / 0.9402 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001816/0.2012, allocations: 105.5 kB / 0.9403 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2012, allocations: 8 kB / 0.9403 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2012, allocations: 0 / 0.9403 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.2012, allocations: 0 / 0.9403 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2014, allocations: 23.98 kB / 0.9404 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2014, allocations: 0.7031 kB / 0.9404 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.2014, allocations: 4 kB / 0.9404 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.2014, allocations: 4 kB / 0.9404 GB, free: 12.76 MB / 0.9011 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.0001199/0.2016, allocations: 125.8 kB / 0.9405 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2016, allocations: 7.938 kB / 0.9405 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.2016, allocations: 15.95 kB / 0.9405 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.2016, allocations: 8 kB / 0.9405 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2016, allocations: 0 / 0.9405 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2016, allocations: 0 / 0.9405 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.2018, allocations: 113.3 kB / 0.9406 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2018, allocations: 0 / 0.9406 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2019, allocations: 31.86 kB / 0.9407 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2019, allocations: 0 / 0.9407 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2019, allocations: 4 kB / 0.9407 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2019, allocations: 0 / 0.9407 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2019, allocations: 4 kB / 0.9407 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.2022, allocations: 137 kB / 0.9408 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.2023, allocations: 11.89 kB / 0.9408 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.2023, allocations: 4 kB / 0.9408 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.2024, allocations: 4 kB / 0.9408 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.2024, allocations: 7.984 kB / 0.9408 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2024, allocations: 4 kB / 0.9408 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.2025, allocations: 87.27 kB / 0.9409 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.2025, allocations: 3.938 kB / 0.9409 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002199/0.2027, allocations: 16 kB / 0.9409 GB, free: 12.12 MB / 0.9011 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.0001435/0.2028, allocations: 95.25 kB / 0.941 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.203, allocations: 52.08 kB / 0.9411 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.203, allocations: 0 / 0.9411 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.203, allocations: 31.92 kB / 0.9411 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.2034, allocations: 26.62 kB / 0.9411 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.204, allocations: 260.2 kB / 0.9414 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/0.2041, allocations: 71.33 kB / 0.9414 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.366e-05/0.2042, allocations: 8.734 kB / 0.9414 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.2042, allocations: 12.5 kB / 0.9415 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of SimCode: time 7.91e-07/0.2042, allocations: 4 kB / 0.9415 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of Templates: time 0.003991/0.2082, allocations: 0.8508 MB / 0.9423 GB, free: 10.7 MB / 0.9011 GB " [Timeout remaining time 300] 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: 7.961497246986255]