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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001289/0.00129, allocations: 106.2 kB / 16.39 MB, free: 6.484 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.001257/0.001257, allocations: 192.2 kB / 17.32 MB, free: 5.781 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 442.7 MB / 0.7167 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.7167, allocations: 153 MB / 1.177 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006054/0.7227, allocations: 4.722 MB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.7257, allocations: 2.71 MB / 1.184 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.7258, allocations: 4 kB / 1.184 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.7261, allocations: 47.69 kB / 1.184 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.7264, allocations: 91.34 kB / 1.184 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.7277, allocations: 0.5012 MB / 1.185 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.7279, allocations: 228 kB / 1.185 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.728, allocations: 13.56 kB / 1.185 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.7282, allocations: 119.5 kB / 1.185 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.7284, allocations: 95.59 kB / 1.185 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.7284, allocations: 8 kB / 1.185 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007063/0.7291, allocations: 359.4 kB / 1.185 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.7292, allocations: 39.83 kB / 1.185 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.7293, allocations: 87.59 kB / 1.186 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.7299, allocations: 360.8 kB / 1.186 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.73, allocations: 3.984 kB / 1.186 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.162e-06/0.73, allocations: 0 / 1.186 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.73, allocations: 0 / 1.186 GB, free: 1.422 MB / 0.9044 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.0007245/0.7307, allocations: 0.4992 MB / 1.186 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7308, allocations: 8.031 kB / 1.186 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.7309, allocations: 24.75 kB / 1.186 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.7312, allocations: 212 kB / 1.187 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7312, allocations: 16.7 kB / 1.187 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.7313, allocations: 20.36 kB / 1.187 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.7317, allocations: 248.1 kB / 1.187 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7317, allocations: 0 / 1.187 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.7317, allocations: 11.98 kB / 1.187 GB, free: 288 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.7317, allocations: 4 kB / 1.187 GB, free: 284 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.7322, allocations: 436.4 kB / 1.187 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.7333, allocations: 0.941 MB / 1.188 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.7336, allocations: 161.1 kB / 1.188 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.7337, allocations: 75.86 kB / 1.188 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.7351, allocations: 1.821 MB / 1.19 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.7351, allocations: 38.5 kB / 1.19 GB, free: 12.36 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.7351, allocations: 0 / 1.19 GB, free: 12.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0003371/0.7355, allocations: 149.4 kB / 1.19 GB, free: 12.2 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.7355, allocations: 55.34 kB / 1.19 GB, free: 12.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.7356, allocations: 167.3 kB / 1.191 GB, free: 11.96 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.7357, allocations: 25.7 kB / 1.191 GB, free: 11.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.7358, allocations: 143.8 kB / 1.191 GB, free: 11.79 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.7358, allocations: 55.25 kB / 1.191 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.7359, allocations: 57.61 kB / 1.191 GB, free: 11.67 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.736, allocations: 322.8 kB / 1.191 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.7361, allocations: 43.97 kB / 1.191 GB, free: 11.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.7362, allocations: 150.1 kB / 1.191 GB, free: 11.11 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.7365, allocations: 200.6 kB / 1.192 GB, free: 10.86 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7365, allocations: 4 kB / 1.192 GB, free: 10.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003315/0.7368, allocations: 209.5 kB / 1.192 GB, free: 10.65 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7368, allocations: 12.06 kB / 1.192 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7368, allocations: 4 kB / 1.192 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7369, allocations: 4 kB / 1.192 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.737, allocations: 47.92 kB / 1.192 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.7371, allocations: 15.92 kB / 1.192 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.7372, allocations: 23.75 kB / 1.192 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.7372, allocations: 19.94 kB / 1.192 GB, free: 10.52 MB / 0.92 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.0001037/0.7373, allocations: 129.7 kB / 1.192 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.7374, allocations: 15.81 kB / 1.192 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.7377, allocations: 159 kB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7377, allocations: 4 kB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.7377, allocations: 3.938 kB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.7378, allocations: 108.8 kB / 1.192 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.7378, allocations: 0 / 1.192 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.7381, allocations: 15.98 kB / 1.192 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.7381, allocations: 7.984 kB / 1.192 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002327/0.7383, allocations: 196.9 kB / 1.193 GB, free: 9.859 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002588/0.7386, allocations: 305.4 kB / 1.193 GB, free: 9.547 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.558e-05/0.7387, allocations: 43.97 kB / 1.193 GB, free: 9.504 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.448e-05/0.7388, allocations: 116.9 kB / 1.193 GB, free: 9.391 MB / 0.92 GB Notification: Performance of Backend: time 7.81e-07/0.7388, allocations: 0 / 1.193 GB, free: 9.391 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008208/0.7396, allocations: 338.6 kB / 1.193 GB, free: 9.051 MB / 0.92 GB Notification: Performance of SimCode: time 0.0007758/0.7404, allocations: 0.7773 MB / 1.194 GB, free: 8.223 MB / 0.92 GB Notification: Performance of Templates: time 0.00818/0.7486, allocations: 4.703 MB / 1.199 GB, free: 3.555 MB / 0.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches