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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001183/0.001183, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001207/0.001207, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.938/2.938, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004083, allocations: 6.156 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3735, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006887/0.3804, allocations: 3.93 MB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003651/0.3841, allocations: 2.486 MB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.3843, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.3846, allocations: 43.67 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.3849, allocations: 87.48 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3862, allocations: 392.5 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.3866, allocations: 271.8 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.3866, allocations: 9.562 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.3878, allocations: 395 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.388, allocations: 87.66 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3881, allocations: 8 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.3892, allocations: 403.2 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.3893, allocations: 35.83 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.3894, allocations: 53.64 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.3898, allocations: 219.8 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.3898, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.917e-06/0.3898, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3898, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8262 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.0009681/0.3908, allocations: 467.2 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3909, allocations: 12.03 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.391, allocations: 27.8 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3914, allocations: 206.9 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3914, allocations: 12.33 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3914, allocations: 15.94 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3919, allocations: 244.9 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3919, allocations: 7.938 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3919, allocations: 12 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.392, allocations: 7.984 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.3925, allocations: 427.5 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3939, allocations: 1.015 MB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.3942, allocations: 151.1 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3943, allocations: 64.88 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/0.396, allocations: 1.821 MB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.396, allocations: 34.56 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.396, allocations: 0 / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003829/0.3964, allocations: 153.4 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3965, allocations: 55.41 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3967, allocations: 172 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3967, allocations: 25.7 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3968, allocations: 143.8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.3969, allocations: 51.2 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-06/0.3969, allocations: 4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.397, allocations: 326.8 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-05/0.3971, allocations: 35.97 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3973, allocations: 137.7 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3974, allocations: 58.52 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3974, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003168/0.3977, allocations: 213.1 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3977, allocations: 10.03 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3978, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3978, allocations: 4.469 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.398, allocations: 55.91 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.398, allocations: 11.95 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3981, allocations: 35.67 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3982, allocations: 12 kB / 1.072 GB, free: 6.242 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.3983, allocations: 135.2 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3983, allocations: 19.8 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.3987, allocations: 150.9 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3987, allocations: 4 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3987, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3987, allocations: 3.953 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.399, allocations: 217.5 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.399, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.3991, allocations: 27.92 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3991, allocations: 0 / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3991, allocations: 4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.3991, allocations: 8 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3991, allocations: 3.938 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3994, allocations: 226.3 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.3995, allocations: 104.9 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3995, allocations: 3.984 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3997, allocations: 19.98 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.3997, allocations: 11.98 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3998, allocations: 8 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000103/0.3999, allocations: 124 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3999, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003823/0.4003, allocations: 75.92 kB / 1.073 GB, free: 5.02 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002884/0.4006, allocations: 175 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.4008, allocations: 116.6 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4008, allocations: 8.062 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.4009, allocations: 43.97 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.4013, allocations: 51.89 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.4021, allocations: 431.5 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4024, allocations: 0.7133 MB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.4026, allocations: 45.75 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.4026, allocations: 27.42 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4026, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of Templates: time 0.00665/0.4093, allocations: 3.108 MB / 1.078 GB, free: 300 kB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches