Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 115.9 kB / 16.81 MB, free: 5.77 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.001521/0.001521, allocations: 195.2 kB / 17.77 MB, free: 5.113 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.435/1.435, allocations: 225.6 MB / 244.2 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 65.12 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3134, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07358/0.3869, allocations: 67.96 MB / 1.328 GB, free: 8.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02995/0.4169, allocations: 18.63 MB / 1.347 GB, free: 6.047 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004577/0.4215, allocations: 99.44 kB / 1.347 GB, free: 5.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006241/0.4277, allocations: 2.016 MB / 1.349 GB, free: 3.926 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008546/0.4362, allocations: 2.95 MB / 1.352 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007287/0.4435, allocations: 2.477 MB / 1.354 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01407/0.4576, allocations: 8.331 MB / 1.362 GB, free: 6.148 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.4609, allocations: 1.595 MB / 1.364 GB, free: 4.496 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00601/0.4669, allocations: 2.154 MB / 1.366 GB, free: 2.344 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.4704, allocations: 1.645 MB / 1.367 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007169/0.4711, allocations: 200 kB / 1.368 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005215/0.4763, allocations: 2.191 MB / 1.37 GB, free: 14.3 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.4775, allocations: 0.72 MB / 1.37 GB, free: 13.58 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002243/0.4797, allocations: 1.325 MB / 1.372 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008388/0.4881, allocations: 4.258 MB / 1.376 GB, free: 7.973 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4881, allocations: 4 kB / 1.376 GB, free: 7.969 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4881, allocations: 0 / 1.376 GB, free: 7.969 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.745e-05/0.4882, allocations: 0 / 1.376 GB, free: 7.969 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00738/0.4956, allocations: 3.197 MB / 1.379 GB, free: 4.684 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.4956, allocations: 20.5 kB / 1.379 GB, free: 4.664 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.4979, allocations: 489.9 kB / 1.38 GB, free: 4.184 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/0.5037, allocations: 2.901 MB / 1.382 GB, free: 1.215 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.5038, allocations: 94.47 kB / 1.382 GB, free: 1.121 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.5041, allocations: 143.9 kB / 1.383 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.5071, allocations: 1.448 MB / 1.384 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.5071, allocations: 0 / 1.384 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.5073, allocations: 56 kB / 1.384 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.5073, allocations: 54.23 kB / 1.384 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.5101, allocations: 1.118 MB / 1.385 GB, free: 14.21 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.5218, allocations: 7.752 MB / 1.393 GB, free: 5.875 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.5241, allocations: 1.236 MB / 1.394 GB, free: 4.527 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.5252, allocations: 428.2 kB / 1.394 GB, free: 4.109 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005509/0.5307, allocations: 2.701 MB / 1.397 GB, free: 1.176 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.5318, allocations: 478.5 kB / 1.397 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of pre-optimization done (n=62): time 2.746e-06/0.5318, allocations: 4 kB / 1.397 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of matching and sorting (n=62): time 0.003562/0.5354, allocations: 1.253 MB / 1.399 GB, free: 15.41 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.5355, allocations: 107.4 kB / 1.399 GB, free: 15.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/0.5387, allocations: 2.072 MB / 1.401 GB, free: 13.18 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.5388, allocations: 45.7 kB / 1.401 GB, free: 13.12 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.5399, allocations: 1.047 MB / 1.402 GB, free: 12.07 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.5402, allocations: 242 kB / 1.402 GB, free: 11.83 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004551/0.5406, allocations: 314.7 kB / 1.402 GB, free: 11.52 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5408, allocations: 301.1 kB / 1.403 GB, free: 11.22 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.542, allocations: 0.5531 MB / 1.403 GB, free: 10.67 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.5436, allocations: 0.9619 MB / 1.404 GB, free: 9.531 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/0.5461, allocations: 1.422 MB / 1.406 GB, free: 7.957 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.5462, allocations: 4 kB / 1.406 GB, free: 7.953 MB / 1.123 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003835/0.55, allocations: 1.77 MB / 1.407 GB, free: 6.168 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.55, allocations: 37.64 kB / 1.407 GB, free: 6.125 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.5501, allocations: 12 kB / 1.407 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.5501, allocations: 20 kB / 1.407 GB, free: 6.094 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.5513, allocations: 307.7 kB / 1.408 GB, free: 5.793 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/0.5514, allocations: 19.94 kB / 1.408 GB, free: 5.773 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.553, allocations: 179 kB / 1.408 GB, free: 5.598 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.5531, allocations: 59.98 kB / 1.408 GB, free: 5.539 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002042/0.5552, allocations: 0.9756 MB / 1.409 GB, free: 4.559 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001552/0.5567, allocations: 0.9696 MB / 1.41 GB, free: 3.418 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00254/0.5593, allocations: 1.422 MB / 1.411 GB, free: 1.832 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.5593, allocations: 0 / 1.411 GB, free: 1.832 MB / 1.123 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003676/0.563, allocations: 1.757 MB / 1.413 GB, free: 68 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.563, allocations: 34.36 kB / 1.413 GB, free: 28 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.563, allocations: 19.92 kB / 1.413 GB, free: 8 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/0.5631, allocations: 20.05 kB / 1.413 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.5642, allocations: 299.5 kB / 1.413 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.064e-05/0.5643, allocations: 31.86 kB / 1.413 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.5659, allocations: 151.3 kB / 1.413 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.566, allocations: 59.98 kB / 1.414 GB, free: 15.46 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003731/0.5664, allocations: 255.9 kB / 1.414 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.5668, allocations: 226.4 kB / 1.414 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.5695, allocations: 1.072 MB / 1.415 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00193/0.5715, allocations: 0.7724 MB / 1.416 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5715, allocations: 0 / 1.416 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007907/0.5722, allocations: 407.3 kB / 1.416 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.5725, allocations: 12 kB / 1.416 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/0.5735, allocations: 75.86 kB / 1.416 GB, free: 12.6 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.5737, allocations: 52.48 kB / 1.416 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002911/0.5766, allocations: 1.179 MB / 1.417 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003515/0.5801, allocations: 1.747 MB / 1.419 GB, free: 9.594 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009381/0.581, allocations: 392.3 kB / 1.42 GB, free: 9.215 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002222/0.5832, allocations: 1.377 MB / 1.421 GB, free: 7.824 MB / 1.139 GB Notification: Performance of Backend: time 3.1e-07/0.5832, allocations: 3.938 kB / 1.421 GB, free: 7.82 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006097/0.5893, allocations: 2.375 MB / 1.423 GB, free: 5.426 MB / 1.139 GB Notification: Performance of SimCode: time 0.008938/0.5983, allocations: 4.834 MB / 1.428 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of Templates: time 0.08494/0.6832, allocations: 46.46 MB / 1.473 GB, free: 2.57 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches