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.001931/0.001931, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002262/0.002262, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.558/1.558, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.001978/0.001978, allocations: 67.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8071, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002502/0.8096, allocations: 1.284 MB / 1.275 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.187/0.9965, allocations: 147.5 MB / 1.419 GB, free: 15.26 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.9966, allocations: 0 / 1.419 GB, free: 15.26 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.9966, allocations: 7.922 kB / 1.419 GB, free: 15.25 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.9966, allocations: 0 / 1.419 GB, free: 15.25 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.9971, allocations: 103.5 kB / 1.419 GB, free: 15.15 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.761e-05/0.9972, allocations: 35.8 kB / 1.419 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.9973, allocations: 7.984 kB / 1.419 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.9973, allocations: 15.98 kB / 1.419 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.9974, allocations: 15.92 kB / 1.419 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.9974, allocations: 0 / 1.419 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.9977, allocations: 79.83 kB / 1.42 GB, free: 15 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.9977, allocations: 7.984 kB / 1.42 GB, free: 14.99 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.9978, allocations: 15.92 kB / 1.42 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.998, allocations: 70.48 kB / 1.42 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.998, allocations: 0 / 1.42 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/0.998, allocations: 4 kB / 1.42 GB, free: 14.9 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.998, allocations: 0 / 1.42 GB, free: 14.9 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.000469/0.9984, allocations: 347.3 kB / 1.42 GB, free: 14.52 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.9985, allocations: 8.031 kB / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.9987, allocations: 16.88 kB / 1.42 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.9988, allocations: 168.3 kB / 1.42 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.9988, allocations: 7.938 kB / 1.42 GB, free: 14.28 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.9989, allocations: 8 kB / 1.42 GB, free: 14.27 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.999, allocations: 53.66 kB / 1.42 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.999, allocations: 0 / 1.42 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.9991, allocations: 4 kB / 1.42 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9991, allocations: 0 / 1.42 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.9991, allocations: 15.98 kB / 1.42 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.9993, allocations: 165.6 kB / 1.42 GB, free: 13.98 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.9994, allocations: 58.55 kB / 1.42 GB, free: 13.92 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.9995, allocations: 16.8 kB / 1.42 GB, free: 13.9 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.9995, allocations: 7.938 kB / 1.42 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9995, allocations: 30.56 kB / 1.42 GB, free: 13.85 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.9995, allocations: 0 / 1.42 GB, free: 13.85 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0007803/1, allocations: 366.2 kB / 1.421 GB, free: 13.44 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1, allocations: 59.41 kB / 1.421 GB, free: 13.37 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/1, allocations: 93.8 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1, allocations: 29.7 kB / 1.421 GB, free: 13.23 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/1, allocations: 84.14 kB / 1.421 GB, free: 13.15 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/1.001, allocations: 43.78 kB / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/1.001, allocations: 29.72 kB / 1.421 GB, free: 13.07 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.001, allocations: 322.8 kB / 1.421 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/1.001, allocations: 20.12 kB / 1.421 GB, free: 12.73 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/1.001, allocations: 37.7 kB / 1.422 GB, free: 12.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/1.001, allocations: 54.25 kB / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.001, allocations: 0 / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001578/1.001, allocations: 101.6 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.001, allocations: 4 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.001, allocations: 4 kB / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.001, allocations: 0 / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/1.001, allocations: 27.86 kB / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.001, allocations: 8 kB / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/1.001, allocations: 0 / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/1.001, allocations: 4 kB / 1.422 GB, free: 12.47 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.658e-05/1.001, allocations: 121.8 kB / 1.422 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/1.001, allocations: 3.953 kB / 1.422 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/1.001, allocations: 15.95 kB / 1.422 GB, free: 12.33 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.001, allocations: 4 kB / 1.422 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.001, allocations: 0 / 1.422 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/1.001, allocations: 0 / 1.422 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.002, allocations: 177.6 kB / 1.422 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.002, allocations: 0 / 1.422 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/1.002, allocations: 23.94 kB / 1.422 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/1.002, allocations: 0 / 1.422 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.002, allocations: 4 kB / 1.422 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.002, allocations: 3.984 kB / 1.422 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.002, allocations: 0 / 1.422 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/1.002, allocations: 136.9 kB / 1.422 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/1.002, allocations: 85.14 kB / 1.422 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/1.002, allocations: 4 kB / 1.422 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/1.002, allocations: 4 kB / 1.422 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/1.002, allocations: 7.984 kB / 1.422 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.002, allocations: 7.938 kB / 1.422 GB, free: 11.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.265e-05/1.002, allocations: 75.28 kB / 1.422 GB, free: 11.72 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.002, allocations: 0 / 1.422 GB, free: 11.72 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002074/1.002, allocations: 19.94 kB / 1.422 GB, free: 11.7 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.0001338/1.003, allocations: 115.8 kB / 1.423 GB, free: 11.58 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001581/1.003, allocations: 43.98 kB / 1.423 GB, free: 11.54 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.003, allocations: 0 / 1.423 GB, free: 11.54 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/1.003, allocations: 27.92 kB / 1.423 GB, free: 11.51 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/1.003, allocations: 8 kB / 1.423 GB, free: 11.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/1.004, allocations: 336.6 kB / 1.423 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/1.004, allocations: 0.6885 MB / 1.424 GB, free: 10.43 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.489e-05/1.004, allocations: 8.672 kB / 1.424 GB, free: 10.42 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/1.004, allocations: 11.44 kB / 1.424 GB, free: 10.41 MB / 1.123 GB Notification: Performance of SimCode: time 4e-07/1.004, allocations: 4 kB / 1.424 GB, free: 10.41 MB / 1.123 GB Notification: Performance of Templates: time 0.003465/1.008, allocations: 0.6746 MB / 1.424 GB, free: 9.738 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 gbode -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: 8.91886785812676]