Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.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_11_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_11_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.007915/0.007915, allocations: 102.6 kB / 15.73 MB, free: 5.504 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.001844/0.001844, allocations: 195.2 kB / 16.67 MB, free: 5.434 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.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3424, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00721/0.3496, allocations: 4.723 MB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.3527, allocations: 2.702 MB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3529, allocations: 4 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.3532, allocations: 47.67 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.3536, allocations: 103.3 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.355, allocations: 0.5171 MB / 1.229 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.3553, allocations: 228 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.3554, allocations: 5.562 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.3556, allocations: 119.5 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3557, allocations: 95.58 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3557, allocations: 8 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006598/0.3564, allocations: 359.4 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.3565, allocations: 47.81 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.3566, allocations: 83.59 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.3571, allocations: 350.9 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3571, allocations: 4 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3571, allocations: 0 / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.3571, allocations: 0 / 1.23 GB, free: 4.387 MB / 0.9825 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.0007556/0.3579, allocations: 0.5064 MB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3579, allocations: 8.031 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.3581, allocations: 24.84 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3584, allocations: 220.1 kB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3584, allocations: 12.7 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3584, allocations: 16.38 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.3588, allocations: 252.2 kB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3588, allocations: 0 / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3588, allocations: 8 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3588, allocations: 7.984 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.3593, allocations: 427.5 kB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3604, allocations: 0.9606 MB / 1.232 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.3607, allocations: 143.1 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.3608, allocations: 54.42 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.3621, allocations: 1.825 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3622, allocations: 38.5 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3622, allocations: 7.938 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000324/0.3625, allocations: 144.6 kB / 1.234 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3625, allocations: 59.33 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3627, allocations: 172 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3627, allocations: 29.7 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.3628, allocations: 144 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.3628, allocations: 59.52 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.3629, allocations: 57.66 kB / 1.235 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.363, allocations: 330.8 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.3631, allocations: 35.97 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3632, allocations: 138.7 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.3635, allocations: 201.5 kB / 1.235 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3635, allocations: 4 kB / 1.235 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003321/0.3638, allocations: 207.7 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3638, allocations: 9.875 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3638, allocations: 4 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3638, allocations: 8 kB / 1.236 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.364, allocations: 59.86 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.364, allocations: 4 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3641, allocations: 35.72 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3641, allocations: 19.98 kB / 1.236 GB, free: 13.48 MB / 0.9981 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.0001087/0.3642, allocations: 130.2 kB / 1.236 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.3643, allocations: 11.95 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3646, allocations: 158.9 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.3646, allocations: 3.938 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3646, allocations: 3.984 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3646, allocations: 3.938 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3648, allocations: 213.5 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3648, allocations: 0 / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.3649, allocations: 23.98 kB / 1.236 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3649, allocations: 0 / 1.236 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3649, allocations: 11.94 kB / 1.236 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.365, allocations: 3.938 kB / 1.236 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.365, allocations: 0 / 1.236 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.3652, allocations: 227.4 kB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.3653, allocations: 105 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.3653, allocations: 0 / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.3655, allocations: 23.92 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.3655, allocations: 7.984 kB / 1.237 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3655, allocations: 15.98 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.164e-05/0.3656, allocations: 120 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3656, allocations: 4 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003853/0.366, allocations: 75.81 kB / 1.237 GB, free: 12.26 MB / 0.9981 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.000282/0.3663, allocations: 187 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.3665, allocations: 118.6 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3665, allocations: 0 / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.302e-05/0.3666, allocations: 39.97 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.367, allocations: 52.72 kB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.3677, allocations: 354.5 kB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.368, allocations: 0.7129 MB / 1.238 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.3681, allocations: 45.8 kB / 1.238 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.3682, allocations: 31.38 kB / 1.238 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3682, allocations: 0 / 1.238 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.007108/0.3753, allocations: 3.462 MB / 1.242 GB, free: 7.254 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches