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.001927/0.001927, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002819/0.002819, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.09 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.684/2.684, allocations: 476.7 MB / 0.7714 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 177] 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.001918/0.001918, allocations: 66.3 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3017, allocations: 170 MB / 1.285 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002485/0.3042, allocations: 1.307 MB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.4856, allocations: 150.3 MB / 1.433 GB, free: 3.117 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.4856, allocations: 4 kB / 1.433 GB, free: 3.113 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.4856, allocations: 7.938 kB / 1.433 GB, free: 3.105 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.4857, allocations: 0 / 1.433 GB, free: 3.105 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.4861, allocations: 95.55 kB / 1.433 GB, free: 3.012 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.4862, allocations: 43.84 kB / 1.433 GB, free: 2.969 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.4862, allocations: 0 / 1.433 GB, free: 2.969 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.4863, allocations: 11.94 kB / 1.433 GB, free: 2.957 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.4863, allocations: 15.98 kB / 1.433 GB, free: 2.941 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.4863, allocations: 0 / 1.433 GB, free: 2.941 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.4866, allocations: 83.81 kB / 1.433 GB, free: 2.859 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.4866, allocations: 7.938 kB / 1.433 GB, free: 2.852 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.4867, allocations: 27.91 kB / 1.433 GB, free: 2.824 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.4868, allocations: 59.83 kB / 1.433 GB, free: 2.766 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4868, allocations: 0 / 1.433 GB, free: 2.766 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4868, allocations: 3.938 kB / 1.433 GB, free: 2.762 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.4868, allocations: 0 / 1.433 GB, free: 2.762 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.0004002/0.4872, allocations: 286.1 kB / 1.433 GB, free: 2.453 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.4873, allocations: 8.031 kB / 1.433 GB, free: 2.445 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.4875, allocations: 12.94 kB / 1.433 GB, free: 2.434 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.4876, allocations: 106.5 kB / 1.433 GB, free: 2.305 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4876, allocations: 3.938 kB / 1.433 GB, free: 2.301 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4876, allocations: 11.98 kB / 1.433 GB, free: 2.289 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4877, allocations: 45.69 kB / 1.433 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4877, allocations: 0 / 1.433 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4878, allocations: 4 kB / 1.433 GB, free: 2.234 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4878, allocations: 0 / 1.433 GB, free: 2.234 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.4878, allocations: 19.92 kB / 1.433 GB, free: 2.215 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.488, allocations: 156.6 kB / 1.434 GB, free: 2.02 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.4881, allocations: 46.56 kB / 1.434 GB, free: 1.965 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.4881, allocations: 12.86 kB / 1.434 GB, free: 1.949 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.4881, allocations: 0 / 1.434 GB, free: 1.949 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.4882, allocations: 38.56 kB / 1.434 GB, free: 1.902 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.4882, allocations: 0 / 1.434 GB, free: 1.902 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0006985/0.4889, allocations: 301.2 kB / 1.434 GB, free: 1.574 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4889, allocations: 51.41 kB / 1.434 GB, free: 1.512 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.489, allocations: 89.86 kB / 1.434 GB, free: 1.414 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.489, allocations: 33.7 kB / 1.434 GB, free: 1.375 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.489, allocations: 84.08 kB / 1.434 GB, free: 1.289 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.4891, allocations: 39.67 kB / 1.434 GB, free: 1.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.4891, allocations: 29.84 kB / 1.434 GB, free: 1.215 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4893, allocations: 326.8 kB / 1.435 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.4893, allocations: 15.98 kB / 1.435 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.4894, allocations: 41.08 kB / 1.435 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.4895, allocations: 54.2 kB / 1.435 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4895, allocations: 0 / 1.435 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001501/0.4896, allocations: 101.6 kB / 1.435 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4896, allocations: 14.5 kB / 1.435 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4896, allocations: 0 / 1.435 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4896, allocations: 3.984 kB / 1.435 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4898, allocations: 23.94 kB / 1.435 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4898, allocations: 0 / 1.435 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.4898, allocations: 0 / 1.435 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4898, allocations: 4 kB / 1.435 GB, free: 0.6211 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 8.988e-05/0.4899, allocations: 121.8 kB / 1.435 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4899, allocations: 7.984 kB / 1.435 GB, free: 496 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.49, allocations: 15.89 kB / 1.435 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.49, allocations: 0 / 1.435 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.49, allocations: 0 / 1.435 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.49, allocations: 0 / 1.435 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.4901, allocations: 144.7 kB / 1.435 GB, free: 296 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4901, allocations: 0 / 1.435 GB, free: 296 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.4902, allocations: 31.88 kB / 1.435 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4902, allocations: 0 / 1.435 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4902, allocations: 3.984 kB / 1.435 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4902, allocations: 0 / 1.435 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4902, allocations: 0 / 1.435 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.4904, allocations: 137 kB / 1.435 GB, free: 104 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.4905, allocations: 11.98 kB / 1.435 GB, free: 92 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4905, allocations: 0 / 1.435 GB, free: 92 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.4906, allocations: 12 kB / 1.435 GB, free: 80 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.4906, allocations: 7.984 kB / 1.435 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.4906, allocations: 0 / 1.435 GB, free: 72 kB / 1.123 GB Notification: Performance of sorting global known variables: time 6.857e-05/0.4907, allocations: 83.22 kB / 1.435 GB, free: 15.99 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4907, allocations: 7.938 kB / 1.435 GB, free: 15.98 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002045/0.4909, allocations: 19.94 kB / 1.435 GB, free: 15.96 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.0001095/0.491, allocations: 99.25 kB / 1.436 GB, free: 15.85 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.4912, allocations: 60.05 kB / 1.436 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4912, allocations: 0 / 1.436 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.4912, allocations: 20 kB / 1.436 GB, free: 15.77 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.4914, allocations: 15.92 kB / 1.436 GB, free: 15.76 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.492, allocations: 351 kB / 1.436 GB, free: 15.38 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4923, allocations: 0.6846 MB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.4924, allocations: 11.44 kB / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.4924, allocations: 0 / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of Templates: time 0.002345/0.4947, allocations: 0.8357 MB / 1.437 GB, free: 13.82 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/jenkins1/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: 10.907724737015087]