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.0007495/0.0007495, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009602/0.00171, allocations: 449.7 kB / 10.37 MB, free: 328 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.000723/0.000723, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008813/0.001604, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.8978/0.8978, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09013/0.9879, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.749/1.749, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4519/2.201, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.188e-05, allocations: 4.25 kB / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001487/0.001499, allocations: 1.359 MB / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1395/0.141, allocations: 142.6 MB / 0.8699 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.1411, allocations: 0 / 0.8699 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1411, allocations: 3.938 kB / 0.8699 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.1411, allocations: 3.984 kB / 0.8699 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1414, allocations: 91.44 kB / 0.87 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.1414, allocations: 35.84 kB / 0.87 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.1415, allocations: 12 kB / 0.87 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.1415, allocations: 23.92 kB / 0.8701 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.1416, allocations: 11.97 kB / 0.8701 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1416, allocations: 4 kB / 0.8701 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.1418, allocations: 83.75 kB / 0.8702 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1418, allocations: 7.938 kB / 0.8702 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.1419, allocations: 8 kB / 0.8702 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.142, allocations: 59.83 kB / 0.8702 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.142, allocations: 0 / 0.8702 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/0.142, allocations: 0 / 0.8702 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.142, allocations: 11.94 kB / 0.8702 GB, free: 3.922 MB / 0.8386 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.0003164/0.1423, allocations: 260.5 kB / 0.8705 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1424, allocations: 11.97 kB / 0.8705 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.1425, allocations: 105.9 kB / 0.8706 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.1426, allocations: 113.7 kB / 0.8707 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1426, allocations: 4.375 kB / 0.8707 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1426, allocations: 4.375 kB / 0.8707 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.1427, allocations: 126.7 kB / 0.8708 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1427, allocations: 0 / 0.8708 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1427, allocations: 4 kB / 0.8708 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1427, allocations: 4 kB / 0.8708 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.1428, allocations: 19.97 kB / 0.8709 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.169e-05/0.1428, allocations: 64.98 kB / 0.8709 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.1429, allocations: 42.62 kB / 0.871 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.1429, allocations: 12.84 kB / 0.871 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.1429, allocations: 4 kB / 0.871 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.1429, allocations: 30.56 kB / 0.871 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.1429, allocations: 0 / 0.871 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0005505/0.1435, allocations: 321 kB / 0.8713 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1435, allocations: 51.41 kB / 0.8714 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.1436, allocations: 106.7 kB / 0.8715 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1436, allocations: 25.7 kB / 0.8715 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.978e-05/0.1436, allocations: 84.12 kB / 0.8716 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.1436, allocations: 39.64 kB / 0.8716 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1437, allocations: 33.69 kB / 0.8716 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.1437, allocations: 314.8 kB / 0.8719 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.1438, allocations: 11.98 kB / 0.872 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.1438, allocations: 25.7 kB / 0.872 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.1438, allocations: 45.61 kB / 0.872 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1438, allocations: 0 / 0.872 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.794e-05/0.1439, allocations: 82.33 kB / 0.8721 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1439, allocations: 8 kB / 0.8721 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1439, allocations: 0 / 0.8721 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/0.1439, allocations: 0 / 0.8721 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.144, allocations: 35.92 kB / 0.8721 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.144, allocations: 0 / 0.8721 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.144, allocations: 0 / 0.8721 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.144, allocations: 4 kB / 0.8721 GB, free: 1.738 MB / 0.8386 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.514e-05/0.1441, allocations: 117.8 kB / 0.8723 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1441, allocations: 7.938 kB / 0.8723 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.1441, allocations: 15.95 kB / 0.8723 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1441, allocations: 7.938 kB / 0.8723 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1441, allocations: 0 / 0.8723 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1441, allocations: 0 / 0.8723 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.961e-05/0.1442, allocations: 73.91 kB / 0.8724 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1442, allocations: 0 / 0.8724 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.1442, allocations: 23.98 kB / 0.8724 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.1443, allocations: 11.89 kB / 0.8724 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1443, allocations: 3.938 kB / 0.8724 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1443, allocations: 7.984 kB / 0.8724 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1443, allocations: 0 / 0.8724 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1443, allocations: 0 / 0.8724 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1444, allocations: 109 kB / 0.8725 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-06/0.1444, allocations: 0 / 0.8725 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.1444, allocations: 11.94 kB / 0.8725 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.1445, allocations: 3.984 kB / 0.8725 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1445, allocations: 4 kB / 0.8725 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.875e-06/0.1445, allocations: 4.859 kB / 0.8725 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.1445, allocations: 0 / 0.8725 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001049/0.1446, allocations: 20 kB / 0.8726 GB, free: 1.273 MB / 0.8386 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.576e-05/0.1447, allocations: 84.52 kB / 0.8726 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.101e-05/0.1447, allocations: 52.69 kB / 0.8727 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.1447, allocations: 4 kB / 0.8727 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.1448, allocations: 25.02 kB / 0.8727 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1449, allocations: 40.06 kB / 0.8728 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.1456, allocations: 176.4 kB / 0.8729 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.961e-05/0.1457, allocations: 63.2 kB / 0.873 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.1457, allocations: 8.734 kB / 0.873 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.1458, allocations: 75.36 kB / 0.8731 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of SimCode: time 9.22e-07/0.1458, allocations: 0 / 0.8731 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of Templates: time 0.002338/0.1481, allocations: 0.997 MB / 0.874 GB, free: 15.71 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck/Buildings_12_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: 4.70601733122021]