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.0008966/0.0008968, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001129/0.001129, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.753/2.753, allocations: 443.3 MB / 0.7175 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003982, allocations: 11.86 kB / 0.8795 GB, free: 41.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3733, allocations: 155.2 MB / 1.031 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007797/0.3812, allocations: 4.116 MB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004451/0.3857, allocations: 2.679 MB / 1.038 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.386, allocations: 0 / 1.038 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.3865, allocations: 35.81 kB / 1.038 GB, free: 13.58 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.387, allocations: 91.47 kB / 1.038 GB, free: 13.49 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.3895, allocations: 440.9 kB / 1.038 GB, free: 13.06 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.3902, allocations: 311.8 kB / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.3903, allocations: 13.55 kB / 1.039 GB, free: 12.74 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.3919, allocations: 398.8 kB / 1.039 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.3922, allocations: 99.58 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.3922, allocations: 8 kB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.3939, allocations: 495.2 kB / 1.04 GB, free: 11.76 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.394, allocations: 27.91 kB / 1.04 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3942, allocations: 109.3 kB / 1.04 GB, free: 11.62 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.3953, allocations: 355.1 kB / 1.04 GB, free: 11.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3953, allocations: 8 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3953, allocations: 0 / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.3953, allocations: 0 / 1.04 GB, free: 11.26 MB / 0.795 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.00104/0.3964, allocations: 475.2 kB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.3964, allocations: 8.031 kB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.3966, allocations: 24.75 kB / 1.04 GB, free: 10.71 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.3971, allocations: 204.2 kB / 1.041 GB, free: 10.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3971, allocations: 8.703 kB / 1.041 GB, free: 10.47 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3971, allocations: 20.38 kB / 1.041 GB, free: 10.45 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.3976, allocations: 253.1 kB / 1.041 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3976, allocations: 3.938 kB / 1.041 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.3977, allocations: 8 kB / 1.041 GB, free: 10.17 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.3977, allocations: 8 kB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.3982, allocations: 423.5 kB / 1.041 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.3998, allocations: 1.015 MB / 1.042 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.4002, allocations: 163.6 kB / 1.043 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4003, allocations: 56.89 kB / 1.043 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.402, allocations: 1.825 MB / 1.044 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.4021, allocations: 38.56 kB / 1.044 GB, free: 6.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.993e-06/0.4021, allocations: 0 / 1.044 GB, free: 6.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003476/0.4024, allocations: 147.8 kB / 1.045 GB, free: 6.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.4026, allocations: 55.34 kB / 1.045 GB, free: 5.965 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.4028, allocations: 179.2 kB / 1.045 GB, free: 5.773 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.4029, allocations: 29.7 kB / 1.045 GB, free: 5.738 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.403, allocations: 135.8 kB / 1.045 GB, free: 5.602 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.403, allocations: 63.23 kB / 1.045 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.4031, allocations: 21.72 kB / 1.045 GB, free: 5.512 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4033, allocations: 326.8 kB / 1.045 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.4034, allocations: 35.98 kB / 1.045 GB, free: 5.148 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.4035, allocations: 141.7 kB / 1.045 GB, free: 4.961 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.4039, allocations: 201.5 kB / 1.046 GB, free: 4.715 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4039, allocations: 0 / 1.046 GB, free: 4.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000473/0.4044, allocations: 210.7 kB / 1.046 GB, free: 4.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.4045, allocations: 8 kB / 1.046 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.4045, allocations: 4 kB / 1.046 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.4045, allocations: 4 kB / 1.046 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.4048, allocations: 59.84 kB / 1.046 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.4048, allocations: 7.938 kB / 1.046 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.405, allocations: 35.67 kB / 1.046 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.405, allocations: 11.94 kB / 1.046 GB, free: 4.375 MB / 0.795 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.0001656/0.4052, allocations: 137.8 kB / 1.046 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.4053, allocations: 23.8 kB / 1.046 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.4057, allocations: 152.6 kB / 1.046 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.4057, allocations: 7.938 kB / 1.046 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4057, allocations: 0 / 1.046 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4057, allocations: 0 / 1.046 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.4061, allocations: 217.5 kB / 1.047 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4061, allocations: 3.938 kB / 1.047 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.4062, allocations: 23.98 kB / 1.047 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4062, allocations: 0 / 1.047 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4063, allocations: 12 kB / 1.047 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4063, allocations: 3.938 kB / 1.047 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4063, allocations: 0 / 1.047 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.4066, allocations: 215.3 kB / 1.047 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4068, allocations: 104.9 kB / 1.047 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.4068, allocations: 11.92 kB / 1.047 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4071, allocations: 27.92 kB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.4072, allocations: 7.984 kB / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.4072, allocations: 16 kB / 1.047 GB, free: 3.336 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001226/0.4073, allocations: 112 kB / 1.047 GB, free: 3.227 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4073, allocations: 0 / 1.047 GB, free: 3.227 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006052/0.408, allocations: 87.89 kB / 1.047 GB, free: 3.141 MB / 0.795 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.0005043/0.4085, allocations: 175.1 kB / 1.047 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.4088, allocations: 117 kB / 1.047 GB, free: 2.848 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.4088, allocations: 0 / 1.047 GB, free: 2.848 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.409, allocations: 51.86 kB / 1.047 GB, free: 2.797 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.4096, allocations: 57.92 kB / 1.047 GB, free: 2.746 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.4106, allocations: 433.4 kB / 1.048 GB, free: 2.297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.411, allocations: 0.717 MB / 1.049 GB, free: 1.551 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.4113, allocations: 45.75 kB / 1.049 GB, free: 1.504 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.4114, allocations: 19.44 kB / 1.049 GB, free: 1.484 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.4114, allocations: 0 / 1.049 GB, free: 1.484 MB / 0.795 GB Notification: Performance of Templates: time 0.01176/0.4231, allocations: 3.237 MB / 1.052 GB, free: 14.29 MB / 0.8106 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