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.001797/0.001797, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002171/0.002171, allocations: 213.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.456/3.456, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 62.92 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4116, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002869/0.4144, allocations: 1.289 MB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1938/0.6083, allocations: 129 MB / 1.453 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.6083, allocations: 0 / 1.453 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.6084, allocations: 0 / 1.453 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.6085, allocations: 7.922 kB / 1.453 GB, free: 15.03 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.6093, allocations: 95.5 kB / 1.453 GB, free: 14.94 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.6094, allocations: 27.92 kB / 1.453 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.6095, allocations: 7.984 kB / 1.453 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.6096, allocations: 12 kB / 1.453 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.6097, allocations: 19.92 kB / 1.453 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.6097, allocations: 4 kB / 1.453 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.6101, allocations: 79.75 kB / 1.453 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.6101, allocations: 8 kB / 1.453 GB, free: 14.78 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.6102, allocations: 11.92 kB / 1.453 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.6105, allocations: 71.75 kB / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.6105, allocations: 0 / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6105, allocations: 0 / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.6105, allocations: 0 / 1.453 GB, free: 14.7 MB / 1.154 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.000642/0.6111, allocations: 278.2 kB / 1.453 GB, free: 14.4 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.6112, allocations: 12.03 kB / 1.453 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.6115, allocations: 8.938 kB / 1.453 GB, free: 14.38 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.6117, allocations: 106.5 kB / 1.454 GB, free: 14.25 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.6117, allocations: 11.94 kB / 1.454 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.6118, allocations: 4 kB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.612, allocations: 134.7 kB / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.612, allocations: 0 / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.612, allocations: 0 / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.6121, allocations: 0 / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.6121, allocations: 15.98 kB / 1.454 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.6123, allocations: 117.3 kB / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.6125, allocations: 58.5 kB / 1.454 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.6125, allocations: 12.8 kB / 1.454 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.6125, allocations: 4 kB / 1.454 GB, free: 13.83 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.6126, allocations: 38.5 kB / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.6126, allocations: 0 / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.001069/0.6137, allocations: 294.2 kB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.6137, allocations: 55.41 kB / 1.454 GB, free: 13.4 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.6139, allocations: 93.86 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.6139, allocations: 33.7 kB / 1.454 GB, free: 13.26 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.6139, allocations: 80.14 kB / 1.454 GB, free: 13.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.614, allocations: 39.83 kB / 1.454 GB, free: 13.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.6141, allocations: 29.7 kB / 1.454 GB, free: 13.1 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.6143, allocations: 322.8 kB / 1.455 GB, free: 12.78 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.6143, allocations: 15.98 kB / 1.455 GB, free: 12.76 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.6144, allocations: 41.7 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.6145, allocations: 57.66 kB / 1.455 GB, free: 12.65 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6145, allocations: 0 / 1.455 GB, free: 12.65 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001972/0.6147, allocations: 109.7 kB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.6147, allocations: 4 kB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6148, allocations: 0 / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.6148, allocations: 3.938 kB / 1.455 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6149, allocations: 20 kB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.6149, allocations: 0.7031 kB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.615, allocations: 7.938 kB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.615, allocations: 4 kB / 1.455 GB, free: 12.5 MB / 1.154 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.0001386/0.6151, allocations: 126.2 kB / 1.455 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.6152, allocations: 4 kB / 1.455 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.6152, allocations: 11.91 kB / 1.455 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6152, allocations: 0 / 1.455 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6152, allocations: 4 kB / 1.455 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6152, allocations: 0 / 1.455 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.6154, allocations: 117.2 kB / 1.455 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6154, allocations: 0 / 1.455 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.6155, allocations: 16 kB / 1.455 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6155, allocations: 4 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.6155, allocations: 0 / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.6155, allocations: 3.984 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6155, allocations: 0 / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.6158, allocations: 152.9 kB / 1.455 GB, free: 12.01 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.6158, allocations: 7.953 kB / 1.455 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.6159, allocations: 8.031 kB / 1.455 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.6159, allocations: 4 kB / 1.455 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.616, allocations: 11.92 kB / 1.455 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.616, allocations: 4 kB / 1.455 GB, free: 11.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.6161, allocations: 79.28 kB / 1.456 GB, free: 11.9 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6161, allocations: 0 / 1.456 GB, free: 11.9 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002111/0.6163, allocations: 16 kB / 1.456 GB, free: 11.88 MB / 1.154 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.000145/0.6164, allocations: 101.9 kB / 1.456 GB, free: 11.77 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.6166, allocations: 60.05 kB / 1.456 GB, free: 11.71 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6166, allocations: 4 kB / 1.456 GB, free: 11.71 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.6166, allocations: 23.94 kB / 1.456 GB, free: 11.69 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.6169, allocations: 17.64 kB / 1.456 GB, free: 11.67 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.6177, allocations: 319.9 kB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.695e-05/0.6177, allocations: 75.28 kB / 1.456 GB, free: 11.24 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.6178, allocations: 12.66 kB / 1.456 GB, free: 11.23 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.6178, allocations: 11.44 kB / 1.456 GB, free: 11.22 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/0.6178, allocations: 0 / 1.456 GB, free: 11.22 MB / 1.154 GB Notification: Performance of Templates: time 0.003717/0.6215, allocations: 0.6334 MB / 1.457 GB, free: 10.6 MB / 1.154 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: 9.786787889897823]