Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 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.001477/0.001476, allocations: 192 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.88 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7213, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0143/0.7356, allocations: 12.97 MB / 0.9622 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004215/0.7399, allocations: 2.668 MB / 0.9649 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.7401, allocations: 1.344 kB / 0.9649 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.7404, allocations: 46.77 kB / 0.9649 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.7409, allocations: 91.72 kB / 0.965 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.7423, allocations: 0.5009 MB / 0.9655 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.7427, allocations: 233.8 kB / 0.9657 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.7428, allocations: 18.33 kB / 0.9657 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/0.753, allocations: 3.582 MB / 0.9692 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.7532, allocations: 93.34 kB / 0.9693 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.7532, allocations: 7.375 kB / 0.9693 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.7559, allocations: 1.062 MB / 0.9703 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.756, allocations: 42.52 kB / 0.9704 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.7561, allocations: 83.77 kB / 0.9705 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.7567, allocations: 359.2 kB / 0.9708 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7567, allocations: 3.938 kB / 0.9708 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7568, allocations: 3.938 kB / 0.9708 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.7568, allocations: 1.406 kB / 0.9708 GB, free: 8.754 MB / 0.7325 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.0006893/0.7575, allocations: 0.4897 MB / 0.9713 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.7575, allocations: 9.594 kB / 0.9713 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.7577, allocations: 21.47 kB / 0.9713 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.7579, allocations: 225.1 kB / 0.9715 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.7579, allocations: 19.7 kB / 0.9716 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.758, allocations: 13.72 kB / 0.9716 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.7583, allocations: 250 kB / 0.9718 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7583, allocations: 1.312 kB / 0.9718 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.7584, allocations: 6.625 kB / 0.9718 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.7584, allocations: 17.47 kB / 0.9718 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.7589, allocations: 429.5 kB / 0.9722 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.76, allocations: 0.9606 MB / 0.9732 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.7603, allocations: 159.4 kB / 0.9733 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.7604, allocations: 59.33 kB / 0.9734 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.7617, allocations: 1.831 MB / 0.9752 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.7617, allocations: 44.42 kB / 0.9752 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.7617, allocations: 0.875 kB / 0.9752 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003321/0.7621, allocations: 139.2 kB / 0.9754 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.7621, allocations: 57.53 kB / 0.9754 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.7623, allocations: 177.1 kB / 0.9756 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.7623, allocations: 32.55 kB / 0.9756 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.7624, allocations: 142.5 kB / 0.9757 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.7624, allocations: 51.17 kB / 0.9758 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.7625, allocations: 52.55 kB / 0.9758 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7626, allocations: 326.1 kB / 0.9762 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.7627, allocations: 37.02 kB / 0.9762 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.7628, allocations: 139.7 kB / 0.9763 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.7631, allocations: 192.1 kB / 0.9765 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7631, allocations: 5 kB / 0.9765 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003341/0.7634, allocations: 221.8 kB / 0.9767 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7634, allocations: 6.375 kB / 0.9767 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7635, allocations: 4.469 kB / 0.9767 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7635, allocations: 4.219 kB / 0.9767 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.7636, allocations: 56.67 kB / 0.9768 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7637, allocations: 5.625 kB / 0.9768 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.7638, allocations: 23.66 kB / 0.9768 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.7638, allocations: 23.5 kB / 0.9768 GB, free: 3.055 MB / 0.7325 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.0001217/0.7639, allocations: 139.8 kB / 0.977 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.764, allocations: 20.67 kB / 0.977 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.7643, allocations: 153.4 kB / 0.9771 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.7643, allocations: 6.125 kB / 0.9771 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7643, allocations: 0 / 0.9771 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7644, allocations: 3.984 kB / 0.9772 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.7646, allocations: 214.8 kB / 0.9774 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7646, allocations: 0 / 0.9774 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.7647, allocations: 27.08 kB / 0.9774 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7647, allocations: 4.938 kB / 0.9774 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.7647, allocations: 6.25 kB / 0.9774 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.7647, allocations: 7.938 kB / 0.9774 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7648, allocations: 1.125 kB / 0.9774 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.765, allocations: 217.4 kB / 0.9776 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.7651, allocations: 114 kB / 0.9777 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.7651, allocations: 9.109 kB / 0.9777 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.7653, allocations: 16.28 kB / 0.9777 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.7654, allocations: 12.2 kB / 0.9778 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.7654, allocations: 11.36 kB / 0.9778 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.943e-05/0.7655, allocations: 118.8 kB / 0.9779 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.314e-06/0.7655, allocations: 0 / 0.9779 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003861/0.7659, allocations: 82.05 kB / 0.978 GB, free: 2.113 MB / 0.7325 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.0003365/0.7662, allocations: 189.3 kB / 0.9781 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.7665, allocations: 125.4 kB / 0.9783 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7665, allocations: 1.125 kB / 0.9783 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.7666, allocations: 48.33 kB / 0.9783 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.767, allocations: 44.92 kB / 0.9783 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.7677, allocations: 352.2 kB / 0.9787 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.7679, allocations: 0.7126 MB / 0.9794 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000176/0.7681, allocations: 46.75 kB / 0.9794 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.7682, allocations: 24.81 kB / 0.9794 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7682, allocations: 1.125 kB / 0.9794 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of Templates: time 0.006905/0.7751, allocations: 3.629 MB / 0.983 GB, free: 14.69 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches