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.0008694/0.0008694, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008589/0.0008589, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8457/0.8457, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.63/1.63, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0 / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.733e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001785/0.001812, allocations: 1.282 MB / 0.9529 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5756/0.5774, allocations: 129.1 MB / 1.079 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.5774, allocations: 0 / 1.079 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.5774, allocations: 1.203 kB / 1.079 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.5775, allocations: 5.656 kB / 1.079 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.5779, allocations: 94.31 kB / 1.079 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.5779, allocations: 40.06 kB / 1.079 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.578, allocations: 3.375 kB / 1.079 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.578, allocations: 22.41 kB / 1.079 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.5781, allocations: 12.39 kB / 1.079 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.5781, allocations: 0 / 1.079 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.5783, allocations: 83.22 kB / 1.079 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.5783, allocations: 12.05 kB / 1.079 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.5783, allocations: 7.922 kB / 1.079 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.5785, allocations: 76.06 kB / 1.079 GB, free: 40.72 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5785, allocations: 2.531 kB / 1.079 GB, free: 40.72 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5785, allocations: 4 kB / 1.079 GB, free: 40.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5785, allocations: 0 / 1.079 GB, free: 40.71 MB / 0.9948 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.0003433/0.5788, allocations: 275.1 kB / 1.08 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5789, allocations: 10.31 kB / 1.08 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.579, allocations: 10.08 kB / 1.08 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.989e-05/0.5791, allocations: 108.4 kB / 1.08 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5791, allocations: 3.281 kB / 1.08 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.5791, allocations: 10.23 kB / 1.08 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5792, allocations: 127.8 kB / 1.08 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5792, allocations: 7.875 kB / 1.08 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5793, allocations: 3.562 kB / 1.08 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5793, allocations: 0 / 1.08 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.5793, allocations: 17.61 kB / 1.08 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.5794, allocations: 108.2 kB / 1.08 GB, free: 40.06 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.5795, allocations: 46.2 kB / 1.08 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.5795, allocations: 14.02 kB / 1.08 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.5795, allocations: 2.781 kB / 1.08 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.5796, allocations: 37.31 kB / 1.08 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.5796, allocations: 0 / 1.08 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0005852/0.5802, allocations: 311.8 kB / 1.08 GB, free: 39.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.5802, allocations: 54.28 kB / 1.08 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.488e-05/0.5802, allocations: 89.86 kB / 1.081 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5802, allocations: 32.02 kB / 1.081 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.034e-05/0.5803, allocations: 80.14 kB / 1.081 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.5803, allocations: 43.8 kB / 1.081 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.5803, allocations: 33.94 kB / 1.081 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.43e-05/0.5804, allocations: 320.7 kB / 1.081 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.5804, allocations: 15.19 kB / 1.081 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.5804, allocations: 39.73 kB / 1.081 GB, free: 39.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.5805, allocations: 63.27 kB / 1.081 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5805, allocations: 0 / 1.081 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.685e-05/0.5806, allocations: 94.66 kB / 1.081 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5806, allocations: 5.25 kB / 1.081 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5806, allocations: 2.531 kB / 1.081 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5806, allocations: 1.203 kB / 1.081 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.5807, allocations: 24.06 kB / 1.081 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5807, allocations: 4.531 kB / 1.081 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.5807, allocations: 0 / 1.081 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5807, allocations: 9.844 kB / 1.081 GB, free: 39.1 MB / 0.9948 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 4.171e-05/0.5808, allocations: 114.5 kB / 1.081 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.5808, allocations: 10.52 kB / 1.081 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.5808, allocations: 13.56 kB / 1.081 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5808, allocations: 2.531 kB / 1.081 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5808, allocations: 0 / 1.081 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5808, allocations: 3.984 kB / 1.081 GB, free: 38.97 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.086e-05/0.5809, allocations: 116.4 kB / 1.082 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5809, allocations: 3.328 kB / 1.082 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.5809, allocations: 17.47 kB / 1.082 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5809, allocations: 10.69 kB / 1.082 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5809, allocations: 6.688 kB / 1.082 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.5809, allocations: 0 / 1.082 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5809, allocations: 0 / 1.082 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.5811, allocations: 131.7 kB / 1.082 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.5811, allocations: 16.39 kB / 1.082 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.5811, allocations: 0 / 1.082 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.5812, allocations: 15.16 kB / 1.082 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.5812, allocations: 5.641 kB / 1.082 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.5812, allocations: 2.469 kB / 1.082 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.197e-05/0.5812, allocations: 82.09 kB / 1.082 GB, free: 38.69 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5812, allocations: 0 / 1.082 GB, free: 38.69 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001246/0.5813, allocations: 13.66 kB / 1.082 GB, free: 38.69 MB / 0.9948 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 7.704e-05/0.5814, allocations: 101.1 kB / 1.082 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.5815, allocations: 54.42 kB / 1.082 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5815, allocations: 2.344 kB / 1.082 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.5815, allocations: 23.09 kB / 1.082 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.5817, allocations: 9.438 kB / 1.082 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.5821, allocations: 282.3 kB / 1.082 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.5821, allocations: 68.33 kB / 1.082 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.5821, allocations: 13.97 kB / 1.082 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.5821, allocations: 0 / 1.082 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.001559/0.5837, allocations: 0.8662 MB / 1.083 GB, free: 38.25 MB / 0.9948 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: 6.803521491587162]