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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001029/0.001029, allocations: 90.44 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 177.8 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6844, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004275/0.6887, allocations: 4.105 MB / 0.9597 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.691, allocations: 2.677 MB / 0.9623 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.6911, allocations: 1.375 kB / 0.9623 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.6914, allocations: 38.62 kB / 0.9623 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.6916, allocations: 90.59 kB / 0.9624 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.6926, allocations: 442.5 kB / 0.9629 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.6929, allocations: 308 kB / 0.9632 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.693, allocations: 12.3 kB / 0.9632 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009084/0.6939, allocations: 400.4 kB / 0.9635 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.694, allocations: 90.69 kB / 0.9636 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.694, allocations: 6.781 kB / 0.9636 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009085/0.6949, allocations: 0.4953 MB / 0.9641 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.695, allocations: 37.58 kB / 0.9642 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.6951, allocations: 108.5 kB / 0.9643 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.6955, allocations: 240.9 kB / 0.9645 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6955, allocations: 0 / 0.9645 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6955, allocations: 0 / 0.9645 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6955, allocations: 0 / 0.9645 GB, free: 0.8477 MB / 0.7169 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.0005789/0.6961, allocations: 464.5 kB / 0.9649 GB, free: 408 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6961, allocations: 9.281 kB / 0.9649 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.6963, allocations: 26.84 kB / 0.965 GB, free: 396 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.6965, allocations: 215.7 kB / 0.9652 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6965, allocations: 19.12 kB / 0.9652 GB, free: 140 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.6965, allocations: 18.41 kB / 0.9652 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.6969, allocations: 252.2 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6969, allocations: 1.281 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.6969, allocations: 10.47 kB / 0.9655 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.697, allocations: 6 kB / 0.9655 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.6975, allocations: 436.7 kB / 0.9659 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.6985, allocations: 1.002 MB / 0.9669 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.6988, allocations: 166.2 kB / 0.967 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.6989, allocations: 58.36 kB / 0.9671 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.7003, allocations: 1.83 MB / 0.9689 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.7003, allocations: 36.47 kB / 0.9689 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.7003, allocations: 0 / 0.9689 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003797/0.7007, allocations: 148.4 kB / 0.969 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.7008, allocations: 55.34 kB / 0.9691 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.7009, allocations: 176.2 kB / 0.9693 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.701, allocations: 29.7 kB / 0.9693 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.7011, allocations: 139.5 kB / 0.9694 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.7012, allocations: 57.39 kB / 0.9695 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.7012, allocations: 24.97 kB / 0.9695 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7014, allocations: 325.8 kB / 0.9698 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.7015, allocations: 34.27 kB / 0.9698 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.7016, allocations: 140.9 kB / 0.97 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.7019, allocations: 197.3 kB / 0.9702 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7019, allocations: 1.25 kB / 0.9702 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004015/0.7023, allocations: 220.5 kB / 0.9704 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7024, allocations: 5.5 kB / 0.9704 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.7024, allocations: 3.938 kB / 0.9704 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7024, allocations: 5.312 kB / 0.9704 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.7026, allocations: 60.5 kB / 0.9704 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.7027, allocations: 4.938 kB / 0.9705 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.7028, allocations: 29.75 kB / 0.9705 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.7028, allocations: 10.12 kB / 0.9705 GB, free: 11.12 MB / 0.7325 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.0001392/0.703, allocations: 136.8 kB / 0.9706 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.703, allocations: 24.44 kB / 0.9706 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.7034, allocations: 155.1 kB / 0.9708 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.7034, allocations: 5.906 kB / 0.9708 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7034, allocations: 0 / 0.9708 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.7034, allocations: 1.031 kB / 0.9708 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.7037, allocations: 220.7 kB / 0.971 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7037, allocations: 1.031 kB / 0.971 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/0.7038, allocations: 31.27 kB / 0.971 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7038, allocations: 0.9375 kB / 0.971 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.7038, allocations: 9.844 kB / 0.9711 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7038, allocations: 3.938 kB / 0.9711 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7038, allocations: 1.031 kB / 0.9711 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.7041, allocations: 208 kB / 0.9713 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.7042, allocations: 109.3 kB / 0.9714 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.7042, allocations: 14.02 kB / 0.9714 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.7045, allocations: 24.11 kB / 0.9714 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.7045, allocations: 13.23 kB / 0.9714 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.7045, allocations: 10.19 kB / 0.9714 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.368e-05/0.7046, allocations: 115.2 kB / 0.9715 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7046, allocations: 0 / 0.9715 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003987/0.705, allocations: 85.08 kB / 0.9716 GB, free: 10.18 MB / 0.7325 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.0003632/0.7054, allocations: 180.4 kB / 0.9718 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.7057, allocations: 123 kB / 0.9719 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7057, allocations: 1 kB / 0.9719 GB, free: 10 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.7058, allocations: 41.7 kB / 0.9719 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.7062, allocations: 52.42 kB / 0.972 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.707, allocations: 465.6 kB / 0.9724 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.7073, allocations: 0.7166 MB / 0.9731 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.7073, allocations: 32.06 kB / 0.9732 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.7073, allocations: 0 / 0.9732 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of Templates: time 0.005536/0.7129, allocations: 3.11 MB / 0.9762 GB, free: 7.281 MB / 0.7325 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