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.00618/0.006179, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001311/0.001311, allocations: 193.8 kB / 16.79 MB, free: 5.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.351/1.351, 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 11.0.0-master/package.mo): time 2.772/2.772, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 63.77 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3153, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007547/0.3229, allocations: 4.487 MB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.3262, allocations: 2.71 MB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3264, allocations: 4 kB / 1.06 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.3268, allocations: 27.81 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.3272, allocations: 95.42 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3285, allocations: 452.5 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.3289, allocations: 311.8 kB / 1.061 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.3289, allocations: 9.562 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.3301, allocations: 398.8 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3302, allocations: 87.66 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3303, allocations: 8 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.3314, allocations: 0.4911 MB / 1.062 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.3315, allocations: 39.89 kB / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3316, allocations: 79.59 kB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.332, allocations: 235.8 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3321, allocations: 0 / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3321, allocations: 0 / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3321, allocations: 0 / 1.062 GB, free: 14.9 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.0008702/0.333, allocations: 0.507 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.333, allocations: 11.97 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.3332, allocations: 24.75 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3334, allocations: 208.1 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3334, allocations: 12.7 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3335, allocations: 12.38 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.3339, allocations: 253 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3339, allocations: 4 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.3339, allocations: 8 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.334, allocations: 8 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.3345, allocations: 435.4 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3358, allocations: 1.008 MB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3361, allocations: 155.1 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3363, allocations: 56.89 kB / 1.065 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.3377, allocations: 1.825 MB / 1.066 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3377, allocations: 38.5 kB / 1.066 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.3377, allocations: 0 / 1.066 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003476/0.3381, allocations: 145.4 kB / 1.066 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3381, allocations: 55.34 kB / 1.067 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3383, allocations: 180 kB / 1.067 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.3384, allocations: 29.7 kB / 1.067 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.3384, allocations: 143.7 kB / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.3385, allocations: 59.19 kB / 1.067 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.3386, allocations: 53.61 kB / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3387, allocations: 322.8 kB / 1.067 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.3388, allocations: 35.98 kB / 1.067 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3389, allocations: 141.6 kB / 1.067 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3392, allocations: 194.8 kB / 1.068 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3392, allocations: 0 / 1.068 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003778/0.3396, allocations: 215.7 kB / 1.068 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3397, allocations: 9.719 kB / 1.068 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3397, allocations: 4 kB / 1.068 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3397, allocations: 4 kB / 1.068 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.3399, allocations: 63.84 kB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3399, allocations: 4.469 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.34, allocations: 35.69 kB / 1.068 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.34, allocations: 12 kB / 1.068 GB, free: 7.945 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3402, allocations: 141.7 kB / 1.068 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.3402, allocations: 19.75 kB / 1.068 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.3405, allocations: 151 kB / 1.068 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.3406, allocations: 7.938 kB / 1.068 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3406, allocations: 0 / 1.068 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3406, allocations: 0 / 1.068 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3408, allocations: 225.4 kB / 1.068 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3408, allocations: 0 / 1.068 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.3409, allocations: 23.98 kB / 1.069 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.341, allocations: 3.938 kB / 1.069 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.341, allocations: 8 kB / 1.069 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.341, allocations: 3.938 kB / 1.069 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.341, allocations: 0 / 1.069 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.3412, allocations: 219.3 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.3413, allocations: 105 kB / 1.069 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.3414, allocations: 4 kB / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3416, allocations: 19.92 kB / 1.069 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.3416, allocations: 11.92 kB / 1.069 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3417, allocations: 12 kB / 1.069 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3418, allocations: 120 kB / 1.069 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3418, allocations: 3.938 kB / 1.069 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003953/0.3422, allocations: 75.89 kB / 1.069 GB, free: 6.715 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 (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.000385/0.3426, allocations: 179.1 kB / 1.069 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3428, allocations: 122.2 kB / 1.069 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3428, allocations: 4.875 kB / 1.069 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.3429, allocations: 39.98 kB / 1.069 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.3434, allocations: 59.92 kB / 1.069 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.3441, allocations: 418.4 kB / 1.07 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.3446, allocations: 0.7131 MB / 1.071 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.3447, allocations: 27.44 kB / 1.071 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3447, allocations: 3.938 kB / 1.071 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.005747/0.3504, allocations: 3.128 MB / 1.074 GB, free: 1.984 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches