Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001313/0.001313, allocations: 100.1 kB / 15.88 MB, free: 12 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.001423/0.001423, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6807, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006849/0.6876, allocations: 4.487 MB / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.6907, allocations: 2.718 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.6909, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.6912, allocations: 35.81 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.6915, allocations: 95.47 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.6929, allocations: 441.8 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.6933, allocations: 311.7 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.6933, allocations: 9.562 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.6943, allocations: 402.9 kB / 1.026 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.6945, allocations: 99.53 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.6945, allocations: 4 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.6957, allocations: 0.4911 MB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.6958, allocations: 31.91 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.6959, allocations: 75.66 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.6964, allocations: 241.4 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.6964, allocations: 4 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6964, allocations: 3.938 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6964, allocations: 0 / 1.026 GB, free: 9.34 MB / 0.7794 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.00078/0.6972, allocations: 0.5032 MB / 1.027 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6973, allocations: 12.03 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.6975, allocations: 20.75 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.6977, allocations: 216 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.6977, allocations: 16.69 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.6977, allocations: 16.38 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.6981, allocations: 245.1 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6981, allocations: 3.938 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.6982, allocations: 11.98 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.6982, allocations: 8 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.6987, allocations: 424 kB / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.6998, allocations: 1.004 MB / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.7001, allocations: 159 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.7002, allocations: 58.42 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.7017, allocations: 1.833 MB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.7017, allocations: 30.56 kB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.7017, allocations: 0 / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003538/0.7021, allocations: 150.9 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.7021, allocations: 63.34 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.7023, allocations: 165.9 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.7023, allocations: 29.7 kB / 1.031 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.7024, allocations: 139.8 kB / 1.031 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.7025, allocations: 59.12 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.7025, allocations: 57.59 kB / 1.032 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7027, allocations: 326.8 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.7027, allocations: 31.98 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.7029, allocations: 137.7 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.7031, allocations: 199.6 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7032, allocations: 4 kB / 1.032 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003439/0.7035, allocations: 209.2 kB / 1.032 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7035, allocations: 8 kB / 1.032 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7035, allocations: 4 kB / 1.032 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7036, allocations: 4 kB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.7038, allocations: 60.31 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.7038, allocations: 15.94 kB / 1.032 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.7039, allocations: 27.69 kB / 1.032 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.7039, allocations: 23.92 kB / 1.033 GB, free: 2.387 MB / 0.7794 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.0001252/0.7041, allocations: 129.8 kB / 1.033 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.7041, allocations: 15.81 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.7044, allocations: 147.9 kB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.7045, allocations: 3.938 kB / 1.033 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7045, allocations: 7.938 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7045, allocations: 0 / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.7047, allocations: 221.4 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7048, allocations: 7.922 kB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-05/0.7049, allocations: 27.98 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7049, allocations: 0 / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.7049, allocations: 4 kB / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7049, allocations: 3.938 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7049, allocations: 0 / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.7051, allocations: 225.7 kB / 1.033 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.7053, allocations: 108.9 kB / 1.033 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.7053, allocations: 0 / 1.033 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.7055, allocations: 19.92 kB / 1.033 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.7055, allocations: 7.984 kB / 1.033 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.7056, allocations: 12 kB / 1.033 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.994e-05/0.7057, allocations: 122.3 kB / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7057, allocations: 0 / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003981/0.7061, allocations: 83.83 kB / 1.034 GB, free: 1.172 MB / 0.7794 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.0003978/0.7065, allocations: 184.3 kB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.7067, allocations: 120.5 kB / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.7068, allocations: 192 / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.7068, allocations: 51.86 kB / 1.034 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.7073, allocations: 50.48 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/0.7081, allocations: 418.4 kB / 1.034 GB, free: 336 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.7084, allocations: 0.7131 MB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.7084, allocations: 27.44 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.7084, allocations: 0 / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of Templates: time 0.006504/0.7149, allocations: 3.136 MB / 1.038 GB, free: 12.45 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches