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.002228/0.002228, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002251/0.002251, allocations: 162.8 kB / 22.46 MB, free: 5.359 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.711/2.711, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.82e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002666/0.002694, allocations: 1.273 MB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.1807, allocations: 129.1 MB / 1.078 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.1808, allocations: 0 / 1.078 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.1808, allocations: 3.938 kB / 1.078 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.1809, allocations: 7.922 kB / 1.078 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.1814, allocations: 103.4 kB / 1.078 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1815, allocations: 35.84 kB / 1.078 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.1815, allocations: 0 / 1.078 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.1816, allocations: 23.97 kB / 1.078 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.1817, allocations: 11.98 kB / 1.078 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1817, allocations: 4 kB / 1.078 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.182, allocations: 75.77 kB / 1.078 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.182, allocations: 11.91 kB / 1.079 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.182, allocations: 12 kB / 1.079 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1822, allocations: 67.8 kB / 1.079 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1822, allocations: 8 kB / 1.079 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1822, allocations: 0 / 1.079 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.1822, allocations: 0 / 1.079 GB, free: 8.371 MB / 0.9825 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.0004639/0.1827, allocations: 278.2 kB / 1.079 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1827, allocations: 15.97 kB / 1.079 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.1829, allocations: 8.938 kB / 1.079 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1831, allocations: 113.7 kB / 1.079 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1831, allocations: 4.375 kB / 1.079 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.1831, allocations: 12.33 kB / 1.079 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1833, allocations: 126.7 kB / 1.079 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1833, allocations: 0 / 1.079 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1833, allocations: 8 kB / 1.079 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1833, allocations: 0 / 1.079 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.1834, allocations: 11.98 kB / 1.079 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1835, allocations: 117.3 kB / 1.079 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1837, allocations: 46.5 kB / 1.079 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.1837, allocations: 12.86 kB / 1.079 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.1837, allocations: 0 / 1.079 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.1837, allocations: 46.48 kB / 1.079 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.1837, allocations: 3.984 kB / 1.079 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0007904/0.1845, allocations: 305.5 kB / 1.08 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1846, allocations: 55.41 kB / 1.08 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.1846, allocations: 89.86 kB / 1.08 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1847, allocations: 29.7 kB / 1.08 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1847, allocations: 80.14 kB / 1.08 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.1848, allocations: 39.69 kB / 1.08 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.1848, allocations: 33.66 kB / 1.08 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.185, allocations: 318.8 kB / 1.08 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.185, allocations: 28.05 kB / 1.08 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.1851, allocations: 37.7 kB / 1.08 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.541e-05/0.1852, allocations: 49.72 kB / 1.08 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1852, allocations: 0 / 1.08 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001634/0.1853, allocations: 101.5 kB / 1.08 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1853, allocations: 8 kB / 1.08 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1853, allocations: 0 / 1.08 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1854, allocations: 0 / 1.08 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1855, allocations: 24 kB / 1.081 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1855, allocations: 0 / 1.081 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.1855, allocations: 4 kB / 1.081 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1855, allocations: 8 kB / 1.081 GB, free: 6.168 MB / 0.9825 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.323e-05/0.1856, allocations: 121.8 kB / 1.081 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1856, allocations: 11.89 kB / 1.081 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.1857, allocations: 11.97 kB / 1.081 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1857, allocations: 0 / 1.081 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1857, allocations: 0 / 1.081 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1857, allocations: 0 / 1.081 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1858, allocations: 121.2 kB / 1.081 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1858, allocations: 0 / 1.081 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.186, allocations: 23.94 kB / 1.081 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.186, allocations: 4 kB / 1.081 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.186, allocations: 4 kB / 1.081 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.186, allocations: 7.922 kB / 1.081 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.186, allocations: 0 / 1.081 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1862, allocations: 133.1 kB / 1.081 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.1863, allocations: 11.89 kB / 1.081 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1863, allocations: 4.031 kB / 1.081 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.1864, allocations: 8 kB / 1.081 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.1864, allocations: 3.984 kB / 1.081 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1864, allocations: 4 kB / 1.081 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.1865, allocations: 79.28 kB / 1.081 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.1865, allocations: 0 / 1.081 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002154/0.1867, allocations: 20 kB / 1.081 GB, free: 5.551 MB / 0.9825 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.0001217/0.1868, allocations: 103.2 kB / 1.081 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1869, allocations: 52.38 kB / 1.081 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1869, allocations: 0 / 1.081 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.187, allocations: 23.94 kB / 1.081 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1872, allocations: 11.98 kB / 1.081 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.1878, allocations: 264.6 kB / 1.082 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.1879, allocations: 67.34 kB / 1.082 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.953e-05/0.1879, allocations: 8.734 kB / 1.082 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1879, allocations: 12.5 kB / 1.082 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.1879, allocations: 0 / 1.082 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of Templates: time 0.003567/0.1915, allocations: 0.62 MB / 1.082 GB, free: 4.355 MB / 0.9825 GB " [Timeout remaining time 300] 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: 7.960997618734837]