Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001046/0.001046, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.002063/0.002063, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9564/0.9564, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.844/1.844, allocations: 359 MB / 0.6055 GB, free: 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.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_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.797e-05, allocations: 5.391 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.00534/0.005368, allocations: 4.55 MB / 0.7915 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.007542, allocations: 2.809 MB / 0.7943 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.007633, allocations: 1.125 kB / 0.7943 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.007903, allocations: 39.75 kB / 0.7943 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.008162, allocations: 108.5 kB / 0.7944 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.009526, allocations: 0.5244 MB / 0.7949 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.009797, allocations: 239.8 kB / 0.7952 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.009843, allocations: 7.688 kB / 0.7952 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009058/0.01075, allocations: 0.5146 MB / 0.7957 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.01087, allocations: 81.02 kB / 0.7958 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.01089, allocations: 8 kB / 0.7958 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000765/0.01166, allocations: 0.4911 MB / 0.7962 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.01173, allocations: 35.89 kB / 0.7963 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.01179, allocations: 59.84 kB / 0.7963 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.01234, allocations: 358.9 kB / 0.7967 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.01234, allocations: 0 / 0.7967 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01234, allocations: 0 / 0.7967 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.01235, allocations: 0 / 0.7967 GB, free: 3.012 MB / 0.7448 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.0005956/0.01294, allocations: 0.5271 MB / 0.7972 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01298, allocations: 8.031 kB / 0.7972 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.01314, allocations: 44.72 kB / 0.7972 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.01333, allocations: 168.4 kB / 0.7974 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.01335, allocations: 12.7 kB / 0.7974 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.01337, allocations: 16.38 kB / 0.7974 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.01367, allocations: 420.1 kB / 0.7978 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01368, allocations: 4.172 kB / 0.7978 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.0137, allocations: 12.12 kB / 0.7978 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.01373, allocations: 8 kB / 0.7979 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.01398, allocations: 299.5 kB / 0.7981 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007636/0.01474, allocations: 1.091 MB / 0.7992 GB, free: 224 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.01495, allocations: 132 kB / 0.7993 GB, free: 80 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.01501, allocations: 45.91 kB / 0.7994 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.0155, allocations: 0.5348 MB / 0.7999 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.01553, allocations: 37.39 kB / 0.7999 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.01553, allocations: 0 / 0.7999 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002381/0.01577, allocations: 136.7 kB / 0.8001 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.0158, allocations: 55.41 kB / 0.8001 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.01591, allocations: 220 kB / 0.8003 GB, free: 15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.01593, allocations: 25.7 kB / 0.8004 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.016, allocations: 190.8 kB / 0.8005 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.01603, allocations: 59.52 kB / 0.8006 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.01608, allocations: 55.36 kB / 0.8006 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01619, allocations: 0.5078 MB / 0.8011 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.01624, allocations: 19.98 kB / 0.8012 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.01635, allocations: 178.9 kB / 0.8013 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.01678, allocations: 226.7 kB / 0.8015 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01678, allocations: 0 / 0.8015 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002144/0.017, allocations: 205.2 kB / 0.8017 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01701, allocations: 8 kB / 0.8018 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01702, allocations: 8.453 kB / 0.8018 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01703, allocations: 8 kB / 0.8018 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.01715, allocations: 55.92 kB / 0.8018 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01716, allocations: 4 kB / 0.8018 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.01722, allocations: 31.77 kB / 0.8019 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01724, allocations: 16 kB / 0.8019 GB, free: 13.25 MB / 0.7605 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 8.08e-05/0.01732, allocations: 172.5 kB / 0.802 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.01735, allocations: 23.84 kB / 0.8021 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.01756, allocations: 140.6 kB / 0.8022 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.01757, allocations: 0 / 0.8022 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.01758, allocations: 4 kB / 0.8022 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01758, allocations: 0 / 0.8022 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.01773, allocations: 172.4 kB / 0.8024 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01773, allocations: 7.984 kB / 0.8024 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.0178, allocations: 31.98 kB / 0.8024 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.0178, allocations: 0 / 0.8024 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01781, allocations: 0 / 0.8024 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01781, allocations: 7.938 kB / 0.8024 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01781, allocations: 0 / 0.8024 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.01798, allocations: 259.8 kB / 0.8027 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.01803, allocations: 31.88 kB / 0.8027 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.01804, allocations: 11.98 kB / 0.8027 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.01814, allocations: 11.98 kB / 0.8027 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.01816, allocations: 7.984 kB / 0.8027 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.01817, allocations: 15.98 kB / 0.8027 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.01823, allocations: 151.2 kB / 0.8029 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01823, allocations: 0 / 0.8029 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002598/0.01849, allocations: 83.78 kB / 0.803 GB, free: 12.07 MB / 0.7605 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.0002609/0.01875, allocations: 191 kB / 0.8031 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.01893, allocations: 107.5 kB / 0.8032 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01893, allocations: 3.938 kB / 0.8032 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.01897, allocations: 50.14 kB / 0.8033 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.01926, allocations: 46.91 kB / 0.8033 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.02004, allocations: 319.2 kB / 0.8036 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.727e-05/0.02009, allocations: 68 kB / 0.8037 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.0202, allocations: 53.19 kB / 0.8038 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.02023, allocations: 20.5 kB / 0.8038 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of SimCode: time 8.81e-07/0.02024, allocations: 0 / 0.8038 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of Templates: time 0.004929/0.02516, allocations: 3.068 MB / 0.8068 GB, free: 8.164 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.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: 5.231971342815086]