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.001827/0.001827, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002357/0.002357, allocations: 220.5 kB / 22.26 MB, free: 5.121 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.794/1.794, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.972/2.972, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002118/0.002118, allocations: 66.11 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3737, allocations: 170 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002773/0.3765, allocations: 1.3 MB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2044/0.5809, allocations: 150.3 MB / 1.432 GB, free: 3.102 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.581, allocations: 0 / 1.432 GB, free: 3.102 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.581, allocations: 0 / 1.432 GB, free: 3.102 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.5811, allocations: 3.938 kB / 1.432 GB, free: 3.098 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007579/0.5818, allocations: 95.55 kB / 1.432 GB, free: 3.004 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.582, allocations: 43.86 kB / 1.432 GB, free: 2.961 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.582, allocations: 3.984 kB / 1.432 GB, free: 2.957 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.5821, allocations: 11.94 kB / 1.432 GB, free: 2.945 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.5822, allocations: 19.92 kB / 1.432 GB, free: 2.926 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.5822, allocations: 0 / 1.432 GB, free: 2.926 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.5826, allocations: 79.81 kB / 1.432 GB, free: 2.848 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.5827, allocations: 4 kB / 1.432 GB, free: 2.844 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.5827, allocations: 27.91 kB / 1.432 GB, free: 2.816 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.583, allocations: 67.7 kB / 1.432 GB, free: 2.75 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.5831, allocations: 0 / 1.432 GB, free: 2.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.647e-06/0.5831, allocations: 0 / 1.432 GB, free: 2.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.5831, allocations: 8 kB / 1.432 GB, free: 2.742 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.0006855/0.5838, allocations: 278.2 kB / 1.432 GB, free: 2.441 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.5838, allocations: 12.03 kB / 1.432 GB, free: 2.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.5841, allocations: 4.938 kB / 1.432 GB, free: 2.426 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.5843, allocations: 110.5 kB / 1.433 GB, free: 2.293 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.5843, allocations: 3.938 kB / 1.433 GB, free: 2.289 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.5844, allocations: 11.98 kB / 1.433 GB, free: 2.277 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.5846, allocations: 53.67 kB / 1.433 GB, free: 2.219 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5846, allocations: 0 / 1.433 GB, free: 2.219 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.5846, allocations: 4 kB / 1.433 GB, free: 2.215 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.5846, allocations: 4 kB / 1.433 GB, free: 2.211 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.5847, allocations: 11.98 kB / 1.433 GB, free: 2.199 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.585, allocations: 144.6 kB / 1.433 GB, free: 2.016 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.5852, allocations: 58.56 kB / 1.433 GB, free: 1.949 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.5852, allocations: 8.859 kB / 1.433 GB, free: 1.938 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5853, allocations: 4 kB / 1.433 GB, free: 1.934 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.5853, allocations: 38.56 kB / 1.433 GB, free: 1.887 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.5853, allocations: 0 / 1.433 GB, free: 1.887 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.001129/0.5865, allocations: 300.9 kB / 1.433 GB, free: 1.559 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.5865, allocations: 51.41 kB / 1.433 GB, free: 1.496 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.5867, allocations: 97.86 kB / 1.433 GB, free: 1.391 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.5867, allocations: 29.7 kB / 1.433 GB, free: 1.355 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.5868, allocations: 80.14 kB / 1.433 GB, free: 1.273 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/0.5869, allocations: 39.83 kB / 1.433 GB, free: 1.234 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.5869, allocations: 29.66 kB / 1.434 GB, free: 1.199 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5871, allocations: 326.8 kB / 1.434 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.5872, allocations: 15.98 kB / 1.434 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.5873, allocations: 46.33 kB / 1.434 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5874, allocations: 53.72 kB / 1.434 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5874, allocations: 0 / 1.434 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001813/0.5876, allocations: 97.56 kB / 1.434 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5876, allocations: 4 kB / 1.434 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5876, allocations: 0 / 1.434 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.5876, allocations: 3.984 kB / 1.434 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5877, allocations: 24 kB / 1.434 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5877, allocations: 0.7031 kB / 1.434 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.5878, allocations: 4 kB / 1.434 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5878, allocations: 7.938 kB / 1.434 GB, free: 0.6016 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 0.000114/0.5879, allocations: 121.7 kB / 1.434 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.5879, allocations: 15.92 kB / 1.434 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.588, allocations: 7.906 kB / 1.434 GB, free: 464 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.588, allocations: 0 / 1.434 GB, free: 464 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.588, allocations: 0 / 1.434 GB, free: 464 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.588, allocations: 4 kB / 1.434 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.5882, allocations: 140.7 kB / 1.434 GB, free: 276 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5882, allocations: 0 / 1.434 GB, free: 276 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.5883, allocations: 24 kB / 1.434 GB, free: 252 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5883, allocations: 0 / 1.434 GB, free: 252 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5883, allocations: 7.984 kB / 1.434 GB, free: 244 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5883, allocations: 0 / 1.434 GB, free: 244 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5883, allocations: 7.938 kB / 1.434 GB, free: 236 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.5886, allocations: 133.6 kB / 1.435 GB, free: 84 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.5886, allocations: 11.98 kB / 1.435 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.5886, allocations: 0 / 1.435 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.5887, allocations: 12 kB / 1.435 GB, free: 60 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.5888, allocations: 7.984 kB / 1.435 GB, free: 52 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.5888, allocations: 0 / 1.435 GB, free: 52 kB / 1.123 GB Notification: Performance of sorting global known variables: time 7.074e-05/0.5888, allocations: 79.28 kB / 1.435 GB, free: 15.97 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5888, allocations: 0 / 1.435 GB, free: 15.97 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002269/0.5891, allocations: 19.94 kB / 1.435 GB, free: 15.95 MB / 1.139 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.0001269/0.5892, allocations: 105.3 kB / 1.435 GB, free: 15.84 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.5894, allocations: 60.19 kB / 1.435 GB, free: 15.78 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5894, allocations: 0 / 1.435 GB, free: 15.78 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.5894, allocations: 27.94 kB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.5897, allocations: 16.05 kB / 1.435 GB, free: 15.74 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.5904, allocations: 325.2 kB / 1.435 GB, free: 15.39 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5907, allocations: 0.6884 MB / 1.436 GB, free: 14.68 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.5908, allocations: 12.66 kB / 1.436 GB, free: 14.67 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.5908, allocations: 11.44 kB / 1.436 GB, free: 14.66 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.5908, allocations: 0 / 1.436 GB, free: 14.66 MB / 1.139 GB Notification: Performance of Templates: time 0.003503/0.5943, allocations: 0.6838 MB / 1.437 GB, free: 13.98 MB / 1.139 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 -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: 9.857952064834535]