Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, 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.001172/0.001172, allocations: 196.1 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.323/1.323, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.596/2.596, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.17 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2952, allocations: 157.4 MB / 1.053 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01745/0.3127, allocations: 13.87 MB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.3157, allocations: 2.695 MB / 1.069 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3159, allocations: 0 / 1.069 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3162, allocations: 39.8 kB / 1.069 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.3166, allocations: 91.42 kB / 1.069 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.3179, allocations: 465.3 kB / 1.069 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.3182, allocations: 299.9 kB / 1.07 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.3183, allocations: 13.5 kB / 1.07 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008051/0.3263, allocations: 3.15 MB / 1.073 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3266, allocations: 91.66 kB / 1.073 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.3266, allocations: 15.88 kB / 1.073 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.3292, allocations: 0.9719 MB / 1.074 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.3293, allocations: 39.89 kB / 1.074 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3294, allocations: 83.64 kB / 1.074 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.33, allocations: 247.5 kB / 1.074 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.33, allocations: 0 / 1.074 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.086e-06/0.33, allocations: 4 kB / 1.074 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.33, allocations: 4 kB / 1.074 GB, free: 2.23 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.0007852/0.3308, allocations: 0.5008 MB / 1.075 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3308, allocations: 15.97 kB / 1.075 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.331, allocations: 24.73 kB / 1.075 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3312, allocations: 212.2 kB / 1.075 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3313, allocations: 12.7 kB / 1.075 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3313, allocations: 12.38 kB / 1.075 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.3317, allocations: 260 kB / 1.075 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3317, allocations: 0 / 1.075 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.3318, allocations: 8 kB / 1.075 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.3318, allocations: 7.984 kB / 1.075 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.3323, allocations: 435.4 kB / 1.076 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3334, allocations: 0.9529 MB / 1.077 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3337, allocations: 155.1 kB / 1.077 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3338, allocations: 80.8 kB / 1.077 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.3352, allocations: 1.821 MB / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3352, allocations: 42.5 kB / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.3352, allocations: 0 / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003567/0.3356, allocations: 138.8 kB / 1.079 GB, free: 13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3356, allocations: 63.34 kB / 1.079 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3358, allocations: 171.2 kB / 1.079 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3358, allocations: 33.7 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.3359, allocations: 139.8 kB / 1.079 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.336, allocations: 51.25 kB / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.336, allocations: 49.7 kB / 1.079 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3361, allocations: 326.8 kB / 1.08 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/0.3362, allocations: 39.97 kB / 1.08 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3363, allocations: 137.6 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.3366, allocations: 208.1 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3366, allocations: 0 / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003314/0.3369, allocations: 217 kB / 1.08 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.337, allocations: 9.094 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.337, allocations: 0 / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.337, allocations: 8.469 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.3372, allocations: 59.84 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3372, allocations: 11.94 kB / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3373, allocations: 27.75 kB / 1.08 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3374, allocations: 12 kB / 1.08 GB, free: 11.32 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 0.0001123/0.3375, allocations: 139.6 kB / 1.08 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.3375, allocations: 15.81 kB / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.3379, allocations: 157.2 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3379, allocations: 4 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3379, allocations: 7.938 kB / 1.081 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3379, allocations: 0 / 1.081 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.3381, allocations: 217.5 kB / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3382, allocations: 0 / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.434e-05/0.3383, allocations: 35.92 kB / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3383, allocations: 0 / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3383, allocations: 4 kB / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3383, allocations: 0 / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3383, allocations: 3.938 kB / 1.081 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3386, allocations: 215.4 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.3387, allocations: 112.8 kB / 1.081 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3387, allocations: 8 kB / 1.081 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.3389, allocations: 11.98 kB / 1.081 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.3389, allocations: 15.92 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.339, allocations: 8 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.3391, allocations: 123.9 kB / 1.081 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3391, allocations: 4 kB / 1.081 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004042/0.3395, allocations: 76 kB / 1.081 GB, free: 10.09 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.0003925/0.3399, allocations: 191 kB / 1.082 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.3401, allocations: 120.8 kB / 1.082 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3401, allocations: 0 / 1.082 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.3402, allocations: 39.92 kB / 1.082 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.3407, allocations: 56.89 kB / 1.082 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.3414, allocations: 418.7 kB / 1.082 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3417, allocations: 0.7209 MB / 1.083 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.3417, allocations: 27.42 kB / 1.083 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3417, allocations: 0 / 1.083 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of Templates: time 0.005826/0.3476, allocations: 3.417 MB / 1.086 GB, free: 5.07 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches