Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001453/0.001459, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001699/0.0017, allocations: 183 kB / 17.34 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 55.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8113, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006443/0.8177, allocations: 4.428 MB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.8208, allocations: 2.687 MB / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.821, allocations: 0 / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.8213, allocations: 51.67 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.8216, allocations: 91.42 kB / 1.216 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.8229, allocations: 492.9 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.8233, allocations: 247.8 kB / 1.216 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.8233, allocations: 9.562 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009716/0.8243, allocations: 410.9 kB / 1.217 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.8245, allocations: 95.59 kB / 1.217 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.8245, allocations: 4 kB / 1.217 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009991/0.8255, allocations: 495 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.8256, allocations: 39.83 kB / 1.217 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.8257, allocations: 79.64 kB / 1.217 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.8264, allocations: 360.7 kB / 1.218 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8264, allocations: 4 kB / 1.218 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8264, allocations: 0 / 1.218 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8264, allocations: 0 / 1.218 GB, free: 4.148 MB / 0.9356 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.000766/0.8272, allocations: 499.3 kB / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.8272, allocations: 12.03 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.8274, allocations: 24.75 kB / 1.218 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.8277, allocations: 212 kB / 1.218 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.8277, allocations: 16.7 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.8277, allocations: 12.38 kB / 1.218 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.8281, allocations: 253 kB / 1.219 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8281, allocations: 0 / 1.219 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.8282, allocations: 8 kB / 1.219 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.8282, allocations: 4 kB / 1.219 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.8287, allocations: 439.4 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.8297, allocations: 1.008 MB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.83, allocations: 163 kB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.8301, allocations: 58.42 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.8315, allocations: 1.825 MB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.8316, allocations: 38.56 kB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.8316, allocations: 0 / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003363/0.8319, allocations: 147.7 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.832, allocations: 55.34 kB / 1.222 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.8321, allocations: 172 kB / 1.222 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.8321, allocations: 29.69 kB / 1.222 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.8322, allocations: 143.7 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.8323, allocations: 55.28 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.8324, allocations: 53.61 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8325, allocations: 322.8 kB / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.8326, allocations: 35.98 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.8327, allocations: 150.9 kB / 1.223 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.8329, allocations: 193.5 kB / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.8329, allocations: 0 / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003386/0.8333, allocations: 223.7 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8333, allocations: 10.03 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8333, allocations: 7.984 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8334, allocations: 4 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.8335, allocations: 55.86 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.8336, allocations: 4 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.8337, allocations: 27.69 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.8337, allocations: 12 kB / 1.224 GB, free: 13.2 MB / 0.9512 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.0001117/0.8338, allocations: 137.7 kB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.8339, allocations: 19.97 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.8342, allocations: 158.9 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8342, allocations: 11.88 kB / 1.224 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8342, allocations: 0 / 1.224 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.8342, allocations: 3.984 kB / 1.224 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.8345, allocations: 213.5 kB / 1.224 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8345, allocations: 0 / 1.224 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.8346, allocations: 31.92 kB / 1.224 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8346, allocations: 0 / 1.224 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.8346, allocations: 4 kB / 1.224 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8346, allocations: 11.94 kB / 1.224 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8346, allocations: 0 / 1.224 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.8349, allocations: 215.3 kB / 1.224 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.8349, allocations: 104.9 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.835, allocations: 4 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.8352, allocations: 19.92 kB / 1.225 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.8353, allocations: 15.98 kB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.8353, allocations: 8 kB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.248e-05/0.8354, allocations: 124.2 kB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8354, allocations: 0 / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004058/0.8358, allocations: 83.92 kB / 1.225 GB, free: 11.96 MB / 0.9512 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.0003067/0.8361, allocations: 171.1 kB / 1.225 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.8364, allocations: 125 kB / 1.225 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8364, allocations: 0 / 1.225 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.8365, allocations: 35.98 kB / 1.225 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.8369, allocations: 64.8 kB / 1.225 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.8376, allocations: 370.2 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.8379, allocations: 0.7206 MB / 1.226 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.838, allocations: 27.44 kB / 1.226 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.838, allocations: 0 / 1.226 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.005375/0.8433, allocations: 3.158 MB / 1.229 GB, free: 7.266 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches