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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 199.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002021/0.002021, allocations: 71.88 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9194, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002748/0.9221, allocations: 1.294 MB / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1885/1.111, allocations: 147.5 MB / 1.419 GB, free: 15.19 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/1.111, allocations: 0 / 1.419 GB, free: 15.19 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/1.111, allocations: 3.938 kB / 1.419 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/1.111, allocations: 7.922 kB / 1.419 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/1.111, allocations: 103.5 kB / 1.419 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/1.111, allocations: 31.91 kB / 1.419 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/1.111, allocations: 4 kB / 1.419 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/1.111, allocations: 15.98 kB / 1.419 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/1.111, allocations: 15.92 kB / 1.419 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/1.111, allocations: 4 kB / 1.419 GB, free: 15 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/1.112, allocations: 83.75 kB / 1.42 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/1.112, allocations: 4 kB / 1.42 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/1.112, allocations: 15.92 kB / 1.42 GB, free: 14.9 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/1.112, allocations: 74.48 kB / 1.42 GB, free: 14.83 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.112, allocations: 0 / 1.42 GB, free: 14.83 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.02e-07/1.112, allocations: 0 / 1.42 GB, free: 14.83 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.112, allocations: 0 / 1.42 GB, free: 14.83 MB / 1.123 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.0004561/1.112, allocations: 351.3 kB / 1.42 GB, free: 14.44 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/1.112, allocations: 12.03 kB / 1.42 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/1.113, allocations: 12.89 kB / 1.42 GB, free: 14.42 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/1.113, allocations: 164.4 kB / 1.42 GB, free: 14.22 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.113, allocations: 11.94 kB / 1.42 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/1.113, allocations: 7.938 kB / 1.42 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/1.113, allocations: 53.67 kB / 1.42 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.113, allocations: 0 / 1.42 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.113, allocations: 0 / 1.42 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/1.113, allocations: 4 kB / 1.42 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/1.113, allocations: 15.92 kB / 1.42 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/1.113, allocations: 169.6 kB / 1.42 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 8.978e-05/1.113, allocations: 46.56 kB / 1.42 GB, free: 13.85 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/1.113, allocations: 16.86 kB / 1.42 GB, free: 13.83 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/1.113, allocations: 0 / 1.42 GB, free: 13.83 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.113, allocations: 38.55 kB / 1.42 GB, free: 13.79 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/1.113, allocations: 0 / 1.42 GB, free: 13.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0007554/1.114, allocations: 370.4 kB / 1.421 GB, free: 13.37 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/1.114, allocations: 55.41 kB / 1.421 GB, free: 13.3 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/1.114, allocations: 89.86 kB / 1.421 GB, free: 13.21 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/1.114, allocations: 37.64 kB / 1.421 GB, free: 13.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/1.114, allocations: 80.14 kB / 1.421 GB, free: 13.08 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/1.114, allocations: 39.64 kB / 1.421 GB, free: 13.04 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/1.114, allocations: 33.7 kB / 1.421 GB, free: 13 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.114, allocations: 322.7 kB / 1.421 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/1.114, allocations: 24.11 kB / 1.421 GB, free: 12.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-05/1.115, allocations: 37.7 kB / 1.422 GB, free: 12.61 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/1.115, allocations: 57.64 kB / 1.422 GB, free: 12.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/1.115, allocations: 0 / 1.422 GB, free: 12.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001376/1.115, allocations: 94.22 kB / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.115, allocations: 9.719 kB / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/1.115, allocations: 160 / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.115, allocations: 0 / 1.422 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.115, allocations: 23.94 kB / 1.422 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.115, allocations: 11.97 kB / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/1.115, allocations: 0 / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/1.115, allocations: 8 kB / 1.422 GB, free: 12.4 MB / 1.123 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 9.413e-05/1.115, allocations: 117.8 kB / 1.422 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/1.115, allocations: 3.953 kB / 1.422 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/1.115, allocations: 11.97 kB / 1.422 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.115, allocations: 4 kB / 1.422 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.115, allocations: 7.922 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.115, allocations: 0 / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/1.115, allocations: 181.6 kB / 1.422 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/1.115, allocations: 0 / 1.422 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/1.115, allocations: 23.98 kB / 1.422 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.115, allocations: 4 kB / 1.422 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/1.115, allocations: 0 / 1.422 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.115, allocations: 0 / 1.422 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.115, allocations: 0 / 1.422 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/1.116, allocations: 136.9 kB / 1.422 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/1.116, allocations: 93.08 kB / 1.422 GB, free: 11.74 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/1.116, allocations: 0 / 1.422 GB, free: 11.74 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/1.116, allocations: 4 kB / 1.422 GB, free: 11.73 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/1.116, allocations: 7.984 kB / 1.422 GB, free: 11.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/1.116, allocations: 4 kB / 1.422 GB, free: 11.72 MB / 1.123 GB Notification: Performance of sorting global known variables: time 3.626e-05/1.116, allocations: 75.28 kB / 1.422 GB, free: 11.65 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.116, allocations: 0 / 1.422 GB, free: 11.65 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001953/1.116, allocations: 19.94 kB / 1.422 GB, free: 11.63 MB / 1.123 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.0001203/1.116, allocations: 111.8 kB / 1.422 GB, free: 11.51 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001377/1.116, allocations: 55.84 kB / 1.423 GB, free: 11.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.116, allocations: 0 / 1.423 GB, free: 11.46 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/1.116, allocations: 31.86 kB / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/1.117, allocations: 8 kB / 1.423 GB, free: 11.42 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/1.117, allocations: 324.8 kB / 1.423 GB, free: 11.07 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/1.118, allocations: 0.6846 MB / 1.424 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.102e-05/1.118, allocations: 12.66 kB / 1.424 GB, free: 10.35 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/1.118, allocations: 11.44 kB / 1.424 GB, free: 10.34 MB / 1.123 GB Notification: Performance of SimCode: time 3.3e-07/1.118, allocations: 4 kB / 1.424 GB, free: 10.34 MB / 1.123 GB Notification: Performance of Templates: time 0.003077/1.121, allocations: 0.6673 MB / 1.424 GB, free: 9.672 MB / 1.123 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.327681145165116]