Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.006602/0.006602, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001223/0.001223, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 55.91 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3295, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006858/0.3364, allocations: 4.729 MB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003082/0.3395, allocations: 2.695 MB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3397, allocations: 4 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.34, allocations: 39.69 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3404, allocations: 99.36 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3417, allocations: 0.5025 MB / 1.216 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.3421, allocations: 232 kB / 1.216 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.3421, allocations: 9.562 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.3424, allocations: 123.5 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3426, allocations: 87.66 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.3426, allocations: 8 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.3434, allocations: 371.3 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.3436, allocations: 43.81 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3437, allocations: 75.66 kB / 1.217 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3447, allocations: 363 kB / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3448, allocations: 0 / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3448, allocations: 0 / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.3448, allocations: 0 / 1.217 GB, free: 220 kB / 0.9669 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.001361/0.3462, allocations: 0.5032 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.3462, allocations: 8.031 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.3465, allocations: 20.75 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.347, allocations: 224 kB / 1.218 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.3471, allocations: 12.69 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.3471, allocations: 16.38 kB / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.3476, allocations: 260 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3477, allocations: 0 / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.3477, allocations: 8 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.3477, allocations: 7.984 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.3483, allocations: 432.1 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3496, allocations: 0.9449 MB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.35, allocations: 163 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3501, allocations: 56.89 kB / 1.219 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.3516, allocations: 1.829 MB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3516, allocations: 34.56 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.3516, allocations: 0 / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003746/0.352, allocations: 151.6 kB / 1.221 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3521, allocations: 55.34 kB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3523, allocations: 167.4 kB / 1.222 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3523, allocations: 29.7 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3524, allocations: 143.8 kB / 1.222 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.3525, allocations: 55.2 kB / 1.222 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.3526, allocations: 53.61 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3527, allocations: 326.8 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.3528, allocations: 35.97 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.353, allocations: 139.4 kB / 1.222 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.3533, allocations: 200.2 kB / 1.223 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3533, allocations: 0 / 1.223 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000356/0.3536, allocations: 209.2 kB / 1.223 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3537, allocations: 8 kB / 1.223 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3537, allocations: 4 kB / 1.223 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3537, allocations: 4 kB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3539, allocations: 63.8 kB / 1.223 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.3539, allocations: 7.984 kB / 1.223 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.354, allocations: 28.16 kB / 1.223 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.3541, allocations: 20 kB / 1.223 GB, free: 9.32 MB / 0.9825 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.0001338/0.3542, allocations: 126.7 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.3543, allocations: 15.81 kB / 1.223 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.3546, allocations: 154.9 kB / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3546, allocations: 7.922 kB / 1.223 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3546, allocations: 0 / 1.223 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3547, allocations: 4 kB / 1.223 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.3549, allocations: 217.5 kB / 1.223 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3549, allocations: 4 kB / 1.223 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.823e-05/0.355, allocations: 27.98 kB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.355, allocations: 0 / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3551, allocations: 7.984 kB / 1.223 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.3551, allocations: 11.86 kB / 1.223 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3551, allocations: 0 / 1.223 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.3554, allocations: 230 kB / 1.224 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3555, allocations: 101 kB / 1.224 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3555, allocations: 4 kB / 1.224 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3557, allocations: 19.92 kB / 1.224 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.3557, allocations: 7.984 kB / 1.224 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3558, allocations: 15.98 kB / 1.224 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.623e-05/0.3559, allocations: 124.9 kB / 1.224 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3559, allocations: 0 / 1.224 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004162/0.3563, allocations: 75.84 kB / 1.224 GB, free: 8.094 MB / 0.9825 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.0003228/0.3566, allocations: 187.2 kB / 1.224 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.3569, allocations: 116.5 kB / 1.224 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3569, allocations: 0 / 1.224 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.357, allocations: 52.03 kB / 1.224 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.3574, allocations: 45.84 kB / 1.224 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.3582, allocations: 338.9 kB / 1.225 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3585, allocations: 0.709 MB / 1.225 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.3586, allocations: 57.73 kB / 1.225 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.3587, allocations: 19.44 kB / 1.225 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3587, allocations: 3.938 kB / 1.225 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.007432/0.3661, allocations: 3.439 MB / 1.229 GB, free: 3.121 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches