Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001163/0.001163, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002797, 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.001074/0.001074, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.00243, 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.9367/0.9367, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09147/1.028, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.798/1.798, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4712/2.269, allocations: 123.3 MB / 0.728 GB, free: 5.793 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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0.875 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.751e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004293/0.004311, allocations: 4.618 MB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.006453, allocations: 2.837 MB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.006501, allocations: 0 / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.006646, allocations: 49.53 kB / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.006785, allocations: 95.3 kB / 0.7368 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.007432, allocations: 0.5223 MB / 0.7373 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.007608, allocations: 243.8 kB / 0.7375 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.007646, allocations: 12.23 kB / 0.7375 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006075/0.008253, allocations: 0.5072 MB / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.008337, allocations: 73.78 kB / 0.7381 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.008357, allocations: 8 kB / 0.7381 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.008876, allocations: 498.6 kB / 0.7386 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.008924, allocations: 31.86 kB / 0.7386 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.008966, allocations: 48.62 kB / 0.7387 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.009324, allocations: 319 kB / 0.739 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.009337, allocations: 1.156 kB / 0.739 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.009338, allocations: 0 / 0.739 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.009349, allocations: 0 / 0.739 GB, free: 10.7 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005699/0.009919, allocations: 0.5447 MB / 0.7395 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.009949, allocations: 12.03 kB / 0.7395 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.01005, allocations: 41.38 kB / 0.7395 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.01019, allocations: 146.3 kB / 0.7397 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.0102, allocations: 12.7 kB / 0.7397 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.01022, allocations: 17.88 kB / 0.7397 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.01044, allocations: 401.9 kB / 0.7401 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.01045, allocations: 4.188 kB / 0.7401 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.01046, allocations: 8.125 kB / 0.7401 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.01049, allocations: 9.125 kB / 0.7401 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.01073, allocations: 247.4 kB / 0.7404 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.01124, allocations: 0.7495 MB / 0.7411 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.01139, allocations: 155.3 kB / 0.7412 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.01143, allocations: 40.83 kB / 0.7413 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.0118, allocations: 463 kB / 0.7417 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01182, allocations: 35.28 kB / 0.7417 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 8.52e-07/0.01182, allocations: 0 / 0.7417 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.00015/0.01197, allocations: 151.5 kB / 0.7419 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.012, allocations: 51.41 kB / 0.7419 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.0122, allocations: 166.2 kB / 0.7421 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01222, allocations: 29.7 kB / 0.7421 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.01226, allocations: 144.1 kB / 0.7423 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.01229, allocations: 59.45 kB / 0.7423 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.01233, allocations: 57.62 kB / 0.7424 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.01239, allocations: 326.8 kB / 0.7427 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.01241, allocations: 22.81 kB / 0.7427 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.01248, allocations: 137.1 kB / 0.7428 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.01259, allocations: 170.1 kB / 0.743 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01259, allocations: 4 kB / 0.743 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001324/0.01272, allocations: 170.2 kB / 0.7432 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.01273, allocations: 10.03 kB / 0.7432 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01274, allocations: 4 kB / 0.7432 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.01275, allocations: 4 kB / 0.7432 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01289, allocations: 71.38 kB / 0.7433 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01289, allocations: 4 kB / 0.7433 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.01295, allocations: 23.84 kB / 0.7433 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.01296, allocations: 15.94 kB / 0.7433 GB, free: 5.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 6.871e-05/0.01303, allocations: 144.5 kB / 0.7434 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.01305, allocations: 11.98 kB / 0.7434 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.01318, allocations: 114.2 kB / 0.7436 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.01318, allocations: 4 kB / 0.7436 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01318, allocations: 2.75 kB / 0.7436 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01319, allocations: 0 / 0.7436 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.01329, allocations: 101.8 kB / 0.7437 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.0133, allocations: 7.922 kB / 0.7437 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.01336, allocations: 39.92 kB / 0.7437 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.01339, allocations: 19.88 kB / 0.7437 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.0134, allocations: 5.5 kB / 0.7437 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.0134, allocations: 4 kB / 0.7437 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.0134, allocations: 3.984 kB / 0.7437 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0134, allocations: 0 / 0.7437 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.0135, allocations: 228.7 kB / 0.744 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01352, allocations: 9.031 kB / 0.744 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.01359, allocations: 11.98 kB / 0.744 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.01361, allocations: 8.922 kB / 0.744 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01362, allocations: 8 kB / 0.744 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.271e-05/0.01364, allocations: 39.98 kB / 0.744 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01364, allocations: 0 / 0.744 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002003/0.01384, allocations: 87.7 kB / 0.7441 GB, free: 5.035 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002002/0.01404, allocations: 162.9 kB / 0.7443 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.01415, allocations: 106.5 kB / 0.7444 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.01416, allocations: 5.688 kB / 0.7444 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.01419, allocations: 36.77 kB / 0.7444 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01437, allocations: 60.45 kB / 0.7445 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.01704, allocations: 341 kB / 0.7448 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.01708, allocations: 75.84 kB / 0.7449 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.156e-05/0.01717, allocations: 47.34 kB / 0.7449 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.0173, allocations: 113.3 kB / 0.745 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/0.0173, allocations: 0.9375 kB / 0.745 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of Templates: time 0.00478/0.02208, allocations: 3.569 MB / 0.7485 GB, free: 0.625 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.83214844763279]