Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 104.9 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001542, allocations: 68.47 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3005, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006604/0.3071, allocations: 4.471 MB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.3102, allocations: 2.687 MB / 0.9567 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3104, allocations: 4 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.3107, allocations: 31.81 kB / 0.9568 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.3111, allocations: 91.42 kB / 0.9569 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3124, allocations: 457.8 kB / 0.9573 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.3127, allocations: 235.9 kB / 0.9575 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.3127, allocations: 9.562 kB / 0.9575 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.3138, allocations: 406.9 kB / 0.9579 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.314, allocations: 91.66 kB / 0.958 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.314, allocations: 11.94 kB / 0.958 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.315, allocations: 0.5027 MB / 0.9585 GB, free: 272 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.3151, allocations: 31.89 kB / 0.9585 GB, free: 240 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.3152, allocations: 79.66 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.3158, allocations: 239.7 kB / 0.9588 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3159, allocations: 0 / 0.9588 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3159, allocations: 4 kB / 0.9589 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3159, allocations: 0 / 0.9589 GB, free: 15.92 MB / 0.7481 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.0009436/0.3168, allocations: 0.5005 MB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3169, allocations: 11.97 kB / 0.9594 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.3171, allocations: 24.73 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3173, allocations: 204.2 kB / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.3174, allocations: 12.7 kB / 0.9596 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3174, allocations: 12.38 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.3178, allocations: 257 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3178, allocations: 0 / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3179, allocations: 8 kB / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.3179, allocations: 8 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.3184, allocations: 427.5 kB / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3195, allocations: 1.008 MB / 0.9612 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3198, allocations: 170.8 kB / 0.9614 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3199, allocations: 60.88 kB / 0.9615 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.3212, allocations: 1.825 MB / 0.9632 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3213, allocations: 38.56 kB / 0.9633 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.3213, allocations: 0 / 0.9633 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0003412/0.3216, allocations: 147.8 kB / 0.9634 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3217, allocations: 55.34 kB / 0.9635 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3219, allocations: 172.8 kB / 0.9636 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3219, allocations: 25.7 kB / 0.9637 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.322, allocations: 147.8 kB / 0.9638 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.322, allocations: 51.27 kB / 0.9639 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.3221, allocations: 45.7 kB / 0.9639 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3222, allocations: 326.8 kB / 0.9642 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.3223, allocations: 39.97 kB / 0.9643 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3225, allocations: 145.7 kB / 0.9644 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.3227, allocations: 197.5 kB / 0.9646 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3227, allocations: 0 / 0.9646 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000325/0.323, allocations: 212.7 kB / 0.9648 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3231, allocations: 8 kB / 0.9648 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3231, allocations: 11.98 kB / 0.9648 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3231, allocations: 7.938 kB / 0.9648 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3233, allocations: 55.86 kB / 0.9649 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3233, allocations: 11.98 kB / 0.9649 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3234, allocations: 31.69 kB / 0.9649 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3235, allocations: 8 kB / 0.9649 GB, free: 8.973 MB / 0.7481 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.0001057/0.3236, allocations: 137.7 kB / 0.965 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.3236, allocations: 15.81 kB / 0.9651 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.324, allocations: 166.8 kB / 0.9652 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.324, allocations: 7.938 kB / 0.9652 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.324, allocations: 0 / 0.9652 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.324, allocations: 0 / 0.9652 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3243, allocations: 217.5 kB / 0.9654 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3243, allocations: 0 / 0.9654 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.3244, allocations: 20 kB / 0.9655 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3244, allocations: 0 / 0.9655 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3244, allocations: 11.98 kB / 0.9655 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3244, allocations: 3.938 kB / 0.9655 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3244, allocations: 4 kB / 0.9655 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3247, allocations: 219.4 kB / 0.9657 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.3248, allocations: 108.8 kB / 0.9658 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3248, allocations: 8 kB / 0.9658 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.325, allocations: 19.91 kB / 0.9658 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.3251, allocations: 8 kB / 0.9658 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.3251, allocations: 19.98 kB / 0.9658 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.586e-05/0.3252, allocations: 117.6 kB / 0.9659 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.3252, allocations: 4 kB / 0.966 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004019/0.3256, allocations: 79.98 kB / 0.966 GB, free: 7.73 MB / 0.7481 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.0004283/0.326, allocations: 167.2 kB / 0.9662 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.3263, allocations: 135.6 kB / 0.9663 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3263, allocations: 0 / 0.9663 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.3264, allocations: 42.52 kB / 0.9664 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3269, allocations: 64.72 kB / 0.9664 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.3276, allocations: 428.5 kB / 0.9668 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3279, allocations: 0.7168 MB / 0.9675 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.328, allocations: 27.44 kB / 0.9676 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.328, allocations: 0 / 0.9676 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of Templates: time 0.005766/0.3338, allocations: 3.123 MB / 0.9706 GB, free: 2.996 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches