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.001599/0.001599, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001921/0.001921, allocations: 220 kB / 22.99 MB, free: 4.914 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 73.92 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006351/0.3508, allocations: 4.239 MB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.3539, allocations: 2.453 MB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.354, allocations: 4 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3542, allocations: 43.69 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.3545, allocations: 99.34 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3556, allocations: 0.5147 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.3559, allocations: 235.9 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.3559, allocations: 5.75 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.357, allocations: 490.5 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3571, allocations: 91.64 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.3572, allocations: 12 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009343/0.3581, allocations: 475 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.3582, allocations: 35.89 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.3582, allocations: 71.7 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.3588, allocations: 342.9 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3588, allocations: 0 / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3588, allocations: 4 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3588, allocations: 0 / 1.335 GB, free: 8.859 MB / 1.029 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.0007603/0.3596, allocations: 441.4 kB / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3596, allocations: 19.95 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.3598, allocations: 20.84 kB / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.36, allocations: 150.3 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.36, allocations: 16.67 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3601, allocations: 16.38 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.3606, allocations: 462.7 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3606, allocations: 7.938 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.3606, allocations: 4 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.3606, allocations: 8 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.3612, allocations: 420 kB / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3622, allocations: 0.8407 MB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.3626, allocations: 151.4 kB / 1.338 GB, free: 6.148 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.3627, allocations: 52.88 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007417/0.3634, allocations: 447.9 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3634, allocations: 34.56 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.3634, allocations: 3.938 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003506/0.3638, allocations: 149.5 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3638, allocations: 55.34 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.364, allocations: 164.5 kB / 1.339 GB, free: 5.199 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.364, allocations: 29.69 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3641, allocations: 148.1 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.3642, allocations: 55.53 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.3643, allocations: 49.7 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3644, allocations: 326.8 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.3645, allocations: 35.97 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.3647, allocations: 135.8 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3649, allocations: 201.4 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3649, allocations: 0 / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003424/0.3653, allocations: 215.1 kB / 1.34 GB, free: 3.902 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3653, allocations: 12.09 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.3653, allocations: 4 kB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3653, allocations: 7.938 kB / 1.34 GB, free: 3.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3655, allocations: 59.91 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3655, allocations: 11.88 kB / 1.34 GB, free: 3.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3656, allocations: 31.78 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3657, allocations: 16 kB / 1.34 GB, free: 3.762 MB / 1.029 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 0.0001148/0.3658, allocations: 129.8 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.3658, allocations: 15.91 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.3662, allocations: 162.2 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3662, allocations: 0 / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3662, allocations: 3.938 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3662, allocations: 0 / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3664, allocations: 157.2 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3664, allocations: 0 / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.3665, allocations: 35.92 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3665, allocations: 0 / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.3665, allocations: 0 / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3665, allocations: 4 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3665, allocations: 0 / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3668, allocations: 226 kB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.3669, allocations: 27.88 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3669, allocations: 0 / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3671, allocations: 19.92 kB / 1.341 GB, free: 2.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3671, allocations: 7.984 kB / 1.341 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.3672, allocations: 19.92 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.943e-05/0.3672, allocations: 113.6 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3672, allocations: 0 / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003818/0.3676, allocations: 83.8 kB / 1.341 GB, free: 2.723 MB / 1.029 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.0003022/0.3679, allocations: 187 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3682, allocations: 107.8 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3682, allocations: 0 / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.3682, allocations: 52.78 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3686, allocations: 46.39 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.3693, allocations: 365.8 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.765e-05/0.3694, allocations: 106.9 kB / 1.342 GB, free: 1.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.3695, allocations: 27.44 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.3695, allocations: 0 / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of Templates: time 0.005447/0.3749, allocations: 3.104 MB / 1.345 GB, free: 14.69 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 11.475452207028866]