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.0007776/0.0007776, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001844, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006853/0.0006853, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008759/0.001561, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9737/0.9737, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09334/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.891/1.891, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5122/2.403, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.343e-06/1.343e-06, allocations: 0 / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.473e-05, allocations: 8.219 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005423/0.005448, allocations: 4.619 MB / 0.7342 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.007626, allocations: 2.839 MB / 0.737 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.007698, allocations: 0 / 0.737 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.00809, allocations: 37 kB / 0.737 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.008272, allocations: 112.4 kB / 0.7371 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.009199, allocations: 0.51 MB / 0.7376 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.009423, allocations: 244.6 kB / 0.7378 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.009469, allocations: 10.45 kB / 0.7379 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008314/0.0103, allocations: 0.5098 MB / 0.7384 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.01041, allocations: 75.77 kB / 0.7384 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.01043, allocations: 8 kB / 0.7384 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.01113, allocations: 0.4951 MB / 0.7389 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.0112, allocations: 21.38 kB / 0.7389 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.01125, allocations: 47.88 kB / 0.739 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.01166, allocations: 315 kB / 0.7393 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.11e-05/0.01169, allocations: 0 / 0.7393 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.816e-06/0.01169, allocations: 1.031 kB / 0.7393 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.0117, allocations: 0 / 0.7393 GB, free: 10.62 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.0006682/0.01237, allocations: 0.5483 MB / 0.7398 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01241, allocations: 12.02 kB / 0.7398 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.01253, allocations: 41.39 kB / 0.7399 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.01271, allocations: 146.5 kB / 0.74 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.01272, allocations: 20.67 kB / 0.74 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.01274, allocations: 20.38 kB / 0.7401 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.01299, allocations: 386.8 kB / 0.7404 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.01299, allocations: 192 / 0.7404 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.01301, allocations: 17.03 kB / 0.7404 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.01305, allocations: 4 kB / 0.7404 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.01325, allocations: 243.4 kB / 0.7407 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.01383, allocations: 0.7545 MB / 0.7414 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.014, allocations: 149.1 kB / 0.7416 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.01404, allocations: 39.91 kB / 0.7416 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004334/0.01447, allocations: 480.6 kB / 0.742 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.0145, allocations: 34.56 kB / 0.7421 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.0145, allocations: 4 kB / 0.7421 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0001632/0.01467, allocations: 140.7 kB / 0.7422 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.01469, allocations: 55.41 kB / 0.7423 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.01478, allocations: 164.9 kB / 0.7424 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.01479, allocations: 25.7 kB / 0.7425 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.01485, allocations: 144.8 kB / 0.7426 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.01488, allocations: 63.5 kB / 0.7427 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.01493, allocations: 50.7 kB / 0.7427 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.015, allocations: 330.7 kB / 0.743 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.01503, allocations: 25.7 kB / 0.743 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.0151, allocations: 125.7 kB / 0.7432 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.01523, allocations: 190.8 kB / 0.7433 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01524, allocations: 0 / 0.7433 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001557/0.01539, allocations: 172.9 kB / 0.7435 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01541, allocations: 4 kB / 0.7435 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.527e-06/0.01542, allocations: 4 kB / 0.7435 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01543, allocations: 4.688 kB / 0.7435 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.0156, allocations: 69.47 kB / 0.7436 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.0156, allocations: 8 kB / 0.7436 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.01566, allocations: 23.84 kB / 0.7436 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.01567, allocations: 12 kB / 0.7436 GB, free: 5.82 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 7.368e-05/0.01575, allocations: 133.5 kB / 0.7438 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.01577, allocations: 21.05 kB / 0.7438 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.01593, allocations: 114.2 kB / 0.7439 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.01594, allocations: 0 / 0.7439 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01595, allocations: 1.031 kB / 0.7439 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01595, allocations: 4 kB / 0.7439 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.01616, allocations: 105.8 kB / 0.744 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.01616, allocations: 4.875 kB / 0.744 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.01624, allocations: 35.97 kB / 0.744 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.01628, allocations: 28.98 kB / 0.7441 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01628, allocations: 0 / 0.7441 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.01629, allocations: 8 kB / 0.7441 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.01629, allocations: 8.828 kB / 0.7441 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.01629, allocations: 0 / 0.7441 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.01644, allocations: 226.3 kB / 0.7443 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.01645, allocations: 0 / 0.7443 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.01654, allocations: 16.55 kB / 0.7443 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.01656, allocations: 7.984 kB / 0.7443 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01658, allocations: 9.156 kB / 0.7443 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.01661, allocations: 35.05 kB / 0.7444 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01661, allocations: 0 / 0.7444 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002356/0.01684, allocations: 80.92 kB / 0.7444 GB, free: 4.961 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.000251/0.01709, allocations: 178.2 kB / 0.7446 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01723, allocations: 103.2 kB / 0.7447 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/0.01724, allocations: 7.984 kB / 0.7447 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/0.01729, allocations: 40.84 kB / 0.7447 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01756, allocations: 147.5 kB / 0.7449 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.02025, allocations: 343.4 kB / 0.7452 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.0203, allocations: 71.86 kB / 0.7453 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.02041, allocations: 56.31 kB / 0.7453 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.02056, allocations: 117.3 kB / 0.7454 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.02056, allocations: 0.8125 kB / 0.7455 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of Templates: time 0.005214/0.02577, allocations: 3.475 MB / 0.7488 GB, free: 0.4922 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.005952718667686]