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.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001484/0.001484, allocations: 187.8 kB / 16.25 MB, free: 6.586 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 / 239.9 MB, free: 4.531 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.919/2.919, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 63.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.747/0.7495, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006616/0.7561, allocations: 4.754 MB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.7593, allocations: 2.695 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.7594, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.7597, allocations: 43.73 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.76, allocations: 91.42 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.7612, allocations: 474.1 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.7615, allocations: 228 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.7615, allocations: 13.55 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.7617, allocations: 119.5 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.7619, allocations: 87.61 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.7619, allocations: 8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.7627, allocations: 375.2 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.7628, allocations: 39.83 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.7629, allocations: 83.66 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.7635, allocations: 365.1 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.7635, allocations: 3.938 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7635, allocations: 0 / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.7635, allocations: 0 / 1.026 GB, free: 9.375 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.000789/0.7643, allocations: 0.4954 MB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7644, allocations: 8.031 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.7645, allocations: 24.73 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.7648, allocations: 220 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.7648, allocations: 8.703 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.7648, allocations: 20.38 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.7653, allocations: 240.3 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.7653, allocations: 3.938 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.7653, allocations: 15.94 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.7654, allocations: 12 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.7659, allocations: 427.3 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.7672, allocations: 0.9449 MB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.7675, allocations: 159.1 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.7677, allocations: 62.62 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.7693, allocations: 1.825 MB / 1.03 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.7693, allocations: 34.56 kB / 1.03 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.7693, allocations: 4 kB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003372/0.7697, allocations: 143.7 kB / 1.03 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.7697, allocations: 59.28 kB / 1.03 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.7699, allocations: 177.3 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.7699, allocations: 25.7 kB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.77, allocations: 143.7 kB / 1.031 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.7701, allocations: 51.36 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.7702, allocations: 53.61 kB / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7703, allocations: 326.8 kB / 1.031 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.7704, allocations: 31.98 kB / 1.031 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.7706, allocations: 141.7 kB / 1.031 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.7709, allocations: 205.5 kB / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7709, allocations: 0 / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000369/0.7712, allocations: 222.8 kB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7713, allocations: 4 kB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7713, allocations: 4 kB / 1.032 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.7713, allocations: 8 kB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.7715, allocations: 63.84 kB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.7715, allocations: 7.938 kB / 1.032 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.7717, allocations: 23.75 kB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.7717, allocations: 12 kB / 1.032 GB, free: 2.5 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.0001508/0.7719, allocations: 141.9 kB / 1.032 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.7719, allocations: 11.91 kB / 1.032 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.7723, allocations: 159.9 kB / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.7723, allocations: 3.938 kB / 1.032 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7723, allocations: 0 / 1.032 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7723, allocations: 4 kB / 1.032 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.7726, allocations: 213.6 kB / 1.032 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7726, allocations: 0 / 1.032 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.7727, allocations: 23.92 kB / 1.032 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7727, allocations: 8 kB / 1.032 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.7728, allocations: 4 kB / 1.032 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7728, allocations: 3.938 kB / 1.032 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.7728, allocations: 0 / 1.032 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.7731, allocations: 223.8 kB / 1.033 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.7732, allocations: 112.8 kB / 1.033 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.7732, allocations: 0 / 1.033 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.7735, allocations: 27.92 kB / 1.033 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.7735, allocations: 7.984 kB / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.7735, allocations: 15.94 kB / 1.033 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001113/0.7737, allocations: 118.3 kB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7737, allocations: 0 / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005507/0.7742, allocations: 80 kB / 1.033 GB, free: 1.273 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.000471/0.7747, allocations: 175.6 kB / 1.033 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.775, allocations: 124.6 kB / 1.033 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.775, allocations: 0.9375 kB / 1.033 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.7751, allocations: 49.73 kB / 1.033 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.7756, allocations: 59.89 kB / 1.033 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.7765, allocations: 398.6 kB / 1.034 GB, free: 468 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.7769, allocations: 0.7166 MB / 1.034 GB, free: 15.71 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.7771, allocations: 49.8 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.7771, allocations: 19.44 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.7771, allocations: 4 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of Templates: time 0.007939/0.7851, allocations: 3.415 MB / 1.038 GB, free: 12.27 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=400 -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