Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterProperties.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.WaterProperties,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_10_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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_10_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.00142, allocations: 108 kB / 15.61 MB, free: 152 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.001721/0.001721, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7104 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 0.8692 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7359/0.7372, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006065/0.7433, allocations: 4.72 MB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.7462, allocations: 2.691 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.7463, allocations: 3.938 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.7466, allocations: 47.73 kB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.7469, allocations: 103.3 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.7481, allocations: 0.4959 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.7484, allocations: 231.9 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.7485, allocations: 13.55 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.7487, allocations: 119.6 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.7488, allocations: 95.59 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.7489, allocations: 8 kB / 1.026 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007223/0.7496, allocations: 367.3 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.7497, allocations: 35.89 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.7498, allocations: 83.58 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.7504, allocations: 353.2 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7504, allocations: 0 / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7504, allocations: 0 / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.7505, allocations: 4 kB / 1.026 GB, free: 9.172 MB / 0.7794 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.0007904/0.7513, allocations: 0.4954 MB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7513, allocations: 15.97 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.7515, allocations: 28.67 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.7517, allocations: 212 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.7518, allocations: 16.7 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.7518, allocations: 12.38 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.7522, allocations: 252.3 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.7522, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.7523, allocations: 8 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.7523, allocations: 7.938 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.7528, allocations: 431.3 kB / 1.028 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.754, allocations: 0.9489 MB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.7543, allocations: 154.4 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.7544, allocations: 72.81 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.7558, allocations: 1.817 MB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.7558, allocations: 38.56 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.7558, allocations: 0 / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003368/0.7562, allocations: 147.4 kB / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.7562, allocations: 59.34 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.7564, allocations: 181.9 kB / 1.031 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.7564, allocations: 29.7 kB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.7565, allocations: 135.8 kB / 1.031 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.7566, allocations: 47.36 kB / 1.031 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.7566, allocations: 61.53 kB / 1.031 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.7569, allocations: 326.8 kB / 1.032 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.757, allocations: 35.98 kB / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.7571, allocations: 138.2 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.7573, allocations: 199.2 kB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7573, allocations: 0 / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003199/0.7577, allocations: 217.1 kB / 1.032 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7577, allocations: 8 kB / 1.032 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7577, allocations: 4 kB / 1.032 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.7577, allocations: 4.469 kB / 1.032 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.7579, allocations: 59.84 kB / 1.032 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.7579, allocations: 8 kB / 1.032 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.758, allocations: 31.69 kB / 1.032 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.7581, allocations: 12 kB / 1.032 GB, free: 2.293 MB / 0.7794 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.0001178/0.7582, allocations: 133.7 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.7583, allocations: 11.91 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.7586, allocations: 156.6 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.7586, allocations: 7.938 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7586, allocations: 4 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7586, allocations: 0 / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.7589, allocations: 217.6 kB / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7589, allocations: 0 / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.759, allocations: 27.92 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.759, allocations: 0 / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.759, allocations: 8 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.759, allocations: 3.938 kB / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.759, allocations: 0 / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.7593, allocations: 219.3 kB / 1.033 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.7594, allocations: 112.8 kB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.7594, allocations: 8 kB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.7596, allocations: 19.92 kB / 1.033 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.7597, allocations: 7.984 kB / 1.033 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.7597, allocations: 15.94 kB / 1.033 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.941e-05/0.7598, allocations: 125.5 kB / 1.033 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7598, allocations: 0 / 1.033 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004334/0.7602, allocations: 75.98 kB / 1.033 GB, free: 1.07 MB / 0.7794 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.0005231/0.7608, allocations: 183 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.7611, allocations: 125.2 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7611, allocations: 0 / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.7612, allocations: 43.92 kB / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.7617, allocations: 54.06 kB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009763/0.7627, allocations: 347.3 kB / 1.034 GB, free: 312 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.7631, allocations: 0.7166 MB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.7633, allocations: 49.75 kB / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.7634, allocations: 31.42 kB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of SimCode: time 7.11e-07/0.7634, allocations: 0 / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of Templates: time 0.007918/0.7713, allocations: 3.413 MB / 1.038 GB, free: 12.11 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches