Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001143/0.001143, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002789, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001274/0.001274, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002946, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09223/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.407/2.407, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2654/2.672, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.199e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002795/0.002817, allocations: 1.364 MB / 0.8196 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.1464, allocations: 142.6 MB / 0.9589 GB, free: 2.391 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1464, allocations: 0 / 0.9589 GB, free: 2.391 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.1464, allocations: 3.984 kB / 0.9589 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.1465, allocations: 7.922 kB / 0.9589 GB, free: 2.379 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1467, allocations: 91.44 kB / 0.959 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.1468, allocations: 39.86 kB / 0.959 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.1469, allocations: 0 / 0.959 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.1469, allocations: 23.95 kB / 0.959 GB, free: 2.227 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.147, allocations: 8 kB / 0.959 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.147, allocations: 7.938 kB / 0.959 GB, free: 2.211 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1472, allocations: 79.75 kB / 0.9591 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1472, allocations: 4 kB / 0.9591 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.1472, allocations: 12 kB / 0.9591 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1474, allocations: 67.7 kB / 0.9592 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.1474, allocations: 0 / 0.9592 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1474, allocations: 4 kB / 0.9592 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.1474, allocations: 0 / 0.9592 GB, free: 2.047 MB / 0.9323 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.0003258/0.1477, allocations: 268.5 kB / 0.9595 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1477, allocations: 8.625 kB / 0.9595 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.1479, allocations: 101.9 kB / 0.9596 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.323e-05/0.148, allocations: 109.8 kB / 0.9597 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.148, allocations: 4.375 kB / 0.9597 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.148, allocations: 16.36 kB / 0.9597 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1481, allocations: 130.7 kB / 0.9598 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1481, allocations: 3.938 kB / 0.9598 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1481, allocations: 4 kB / 0.9598 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1481, allocations: 0 / 0.9598 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.1482, allocations: 8 kB / 0.9598 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.585e-05/0.1483, allocations: 73.02 kB / 0.9599 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.1483, allocations: 38.56 kB / 0.9599 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.1483, allocations: 8.859 kB / 0.9599 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-06/0.1483, allocations: 4 kB / 0.96 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1483, allocations: 42.5 kB / 0.96 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1483, allocations: 0 / 0.96 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0006943/0.149, allocations: 325.4 kB / 0.9603 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.1491, allocations: 51.41 kB / 0.9604 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.1491, allocations: 106.7 kB / 0.9605 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1491, allocations: 25.7 kB / 0.9605 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.8e-05/0.1491, allocations: 80.14 kB / 0.9606 GB, free: 484 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1492, allocations: 39.64 kB / 0.9606 GB, free: 444 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.1492, allocations: 33.7 kB / 0.9606 GB, free: 404 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.1493, allocations: 318.8 kB / 0.9609 GB, free: 76 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.1493, allocations: 8 kB / 0.9609 GB, free: 68 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.1493, allocations: 37.7 kB / 0.961 GB, free: 24 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.306e-05/0.1494, allocations: 37.69 kB / 0.961 GB, free: 15.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1494, allocations: 0 / 0.961 GB, free: 15.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.077e-05/0.1494, allocations: 81.53 kB / 0.9611 GB, free: 15.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1495, allocations: 4 kB / 0.9611 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1495, allocations: 0 / 0.9611 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.1495, allocations: 0 / 0.9611 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.1495, allocations: 27.98 kB / 0.9611 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.1495, allocations: 0 / 0.9611 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.1496, allocations: 0 / 0.9611 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1496, allocations: 8 kB / 0.9611 GB, free: 15.86 MB / 0.948 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 5.619e-05/0.1496, allocations: 117.8 kB / 0.9612 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.1496, allocations: 15.92 kB / 0.9613 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.1497, allocations: 11.95 kB / 0.9613 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1497, allocations: 0 / 0.9613 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1497, allocations: 0 / 0.9613 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1497, allocations: 4 kB / 0.9613 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.229e-05/0.1497, allocations: 77.88 kB / 0.9613 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1497, allocations: 0 / 0.9613 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.1498, allocations: 20 kB / 0.9614 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.1498, allocations: 11.94 kB / 0.9614 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1498, allocations: 11.94 kB / 0.9614 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1498, allocations: 4 kB / 0.9614 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1498, allocations: 0 / 0.9614 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1498, allocations: 0 / 0.9614 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.15, allocations: 101 kB / 0.9615 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.15, allocations: 4 kB / 0.9615 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.311e-05/0.15, allocations: 7.938 kB / 0.9615 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.15, allocations: 7.984 kB / 0.9615 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.15, allocations: 8 kB / 0.9615 GB, free: 15.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.844e-06/0.15, allocations: 8.844 kB / 0.9615 GB, free: 15.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.15, allocations: 4.094 kB / 0.9615 GB, free: 15.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001068/0.1501, allocations: 20 kB / 0.9615 GB, free: 15.38 MB / 0.948 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 8.992e-05/0.1502, allocations: 80.41 kB / 0.9616 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.1503, allocations: 41.25 kB / 0.9617 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.1503, allocations: 8 kB / 0.9617 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.1503, allocations: 28.78 kB / 0.9617 GB, free: 15.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.1504, allocations: 28.28 kB / 0.9617 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.1512, allocations: 196 kB / 0.9619 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.1512, allocations: 63.28 kB / 0.962 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.499e-05/0.1513, allocations: 8.734 kB / 0.962 GB, free: 14.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1513, allocations: 71.36 kB / 0.962 GB, free: 14.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.1513, allocations: 0 / 0.962 GB, free: 14.8 MB / 0.948 GB Notification: Performance of Templates: time 0.002451/0.1538, allocations: 0.9968 MB / 0.963 GB, free: 13.83 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4639266058802605]