Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00174/0.00174, allocations: 102.6 kB / 15.98 MB, free: 6.344 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.001928/0.001928, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.664/2.664, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 60.7 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.348, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006234/0.3543, allocations: 4.462 MB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.3573, allocations: 2.683 MB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.3574, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3576, allocations: 43.73 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3578, allocations: 83.5 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009763/0.3588, allocations: 467 kB / 1.072 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3591, allocations: 239.9 kB / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.3592, allocations: 9.562 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.36, allocations: 410.8 kB / 1.072 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3602, allocations: 87.66 kB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3602, allocations: 8 kB / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008712/0.3611, allocations: 0.4911 MB / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.3611, allocations: 31.91 kB / 1.073 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.048e-05/0.3612, allocations: 83.64 kB / 1.073 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.3616, allocations: 239.7 kB / 1.073 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3616, allocations: 4 kB / 1.073 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3616, allocations: 3.938 kB / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3616, allocations: 4 kB / 1.073 GB, free: 5.797 MB / 0.8419 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.0007466/0.3624, allocations: 0.4953 MB / 1.074 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3624, allocations: 12.03 kB / 1.074 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.3626, allocations: 24.75 kB / 1.074 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.3628, allocations: 208.1 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3629, allocations: 8.703 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3629, allocations: 16.38 kB / 1.074 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.3633, allocations: 261 kB / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3633, allocations: 0 / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.3633, allocations: 8 kB / 1.074 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.3634, allocations: 4 kB / 1.074 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.3639, allocations: 431.4 kB / 1.075 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3651, allocations: 1.004 MB / 1.076 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.3654, allocations: 165.3 kB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3655, allocations: 64.88 kB / 1.076 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.3671, allocations: 1.825 MB / 1.078 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3671, allocations: 42.56 kB / 1.078 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 3.356e-06/0.3671, allocations: 7.984 kB / 1.078 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003353/0.3675, allocations: 137.4 kB / 1.078 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.3675, allocations: 63.33 kB / 1.078 GB, free: 464 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3677, allocations: 167.3 kB / 1.078 GB, free: 280 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3677, allocations: 29.7 kB / 1.078 GB, free: 244 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.3678, allocations: 139.8 kB / 1.078 GB, free: 100 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.3679, allocations: 55.25 kB / 1.078 GB, free: 44 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4453/0.8132, allocations: 53.31 kB / 1.078 GB, free: 23.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.8133, allocations: 324.2 kB / 1.079 GB, free: 22.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.8134, allocations: 32.86 kB / 1.079 GB, free: 22.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.8136, allocations: 141.4 kB / 1.079 GB, free: 22.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.8138, allocations: 202.2 kB / 1.079 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.8138, allocations: 1.984 kB / 1.079 GB, free: 22.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003755/0.8142, allocations: 209.7 kB / 1.079 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8142, allocations: 7.047 kB / 1.079 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.8142, allocations: 4.406 kB / 1.079 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.8143, allocations: 4.625 kB / 1.079 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.8145, allocations: 65.88 kB / 1.079 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.8145, allocations: 10.03 kB / 1.079 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.8146, allocations: 26.19 kB / 1.079 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.8146, allocations: 14.91 kB / 1.079 GB, free: 22.52 MB / 0.8419 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 9.989e-05/0.8148, allocations: 133.2 kB / 1.079 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.8148, allocations: 17.25 kB / 1.079 GB, free: 22.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.8151, allocations: 159.6 kB / 1.08 GB, free: 22.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.8152, allocations: 9.031 kB / 1.08 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8152, allocations: 0.7188 kB / 1.08 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8152, allocations: 1.172 kB / 1.08 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.8154, allocations: 214.1 kB / 1.08 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8154, allocations: 0.5625 kB / 1.08 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.8155, allocations: 21.98 kB / 1.08 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.8155, allocations: 3.344 kB / 1.08 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8155, allocations: 5.766 kB / 1.08 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.8155, allocations: 4.5 kB / 1.08 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8156, allocations: 5 kB / 1.08 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.8158, allocations: 221.1 kB / 1.08 GB, free: 22.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.8159, allocations: 103.7 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.8159, allocations: 4.984 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.8161, allocations: 21.59 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.8161, allocations: 8.25 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.8162, allocations: 15.84 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.64e-05/0.8163, allocations: 121.6 kB / 1.08 GB, free: 21.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8163, allocations: 0 / 1.08 GB, free: 21.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004032/0.8167, allocations: 75.97 kB / 1.08 GB, free: 21.85 MB / 0.8419 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.0003389/0.817, allocations: 186.3 kB / 1.081 GB, free: 21.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.8173, allocations: 120 kB / 1.081 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8173, allocations: 5 kB / 1.081 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.8174, allocations: 45.19 kB / 1.081 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.8178, allocations: 50.89 kB / 1.081 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.8185, allocations: 427.9 kB / 1.081 GB, free: 21.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.8186, allocations: 0.7105 MB / 1.082 GB, free: 20.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.8187, allocations: 30.2 kB / 1.082 GB, free: 20.78 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.8187, allocations: 3.969 kB / 1.082 GB, free: 20.78 MB / 0.8419 GB Notification: Performance of Templates: time 0.006104/0.8248, allocations: 3.143 MB / 1.085 GB, free: 20.43 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches