Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.007425/0.007425, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.386/2.386, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.000373, allocations: 19.98 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6629, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.0576/0.7205, allocations: 51.92 MB / 1.006 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.7444, allocations: 15.11 MB / 1.02 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.7475, allocations: 83.5 kB / 1.021 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.751, allocations: 0.94 MB / 1.021 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007686/0.7587, allocations: 2.171 MB / 1.024 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006107/0.7648, allocations: 2.013 MB / 1.026 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008295/0.7731, allocations: 6.006 MB / 1.031 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.7762, allocations: 1.357 MB / 1.033 GB, free: 15.53 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.7802, allocations: 1.61 MB / 1.034 GB, free: 13.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.7826, allocations: 1.302 MB / 1.036 GB, free: 12.61 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004764/0.7831, allocations: 68 kB / 1.036 GB, free: 12.54 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004044/0.7872, allocations: 1.708 MB / 1.037 GB, free: 10.83 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008128/0.788, allocations: 422.1 kB / 1.038 GB, free: 10.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.7898, allocations: 0.9415 MB / 1.039 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005681/0.7955, allocations: 3.158 MB / 1.042 GB, free: 6.293 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7955, allocations: 4 kB / 1.042 GB, free: 6.289 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7955, allocations: 0 / 1.042 GB, free: 6.289 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.833e-05/0.7956, allocations: 0 / 1.042 GB, free: 6.289 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005117/0.8007, allocations: 2.171 MB / 1.044 GB, free: 4.051 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8008, allocations: 12.03 kB / 1.044 GB, free: 4.039 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.804, allocations: 0.5677 MB / 1.044 GB, free: 3.469 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.8081, allocations: 1.678 MB / 1.046 GB, free: 1.738 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/0.8086, allocations: 154.4 kB / 1.046 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/0.8089, allocations: 127.9 kB / 1.046 GB, free: 1.461 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.8122, allocations: 1.389 MB / 1.048 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.8123, allocations: 7.938 kB / 1.048 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.8124, allocations: 48 kB / 1.048 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.8125, allocations: 42.02 kB / 1.048 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/0.8158, allocations: 1.187 MB / 1.049 GB, free: 14.69 MB / 0.8106 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.01132/0.8271, allocations: 7.048 MB / 1.056 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.83, allocations: 1.47 MB / 1.057 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.8313, allocations: 466.8 kB / 1.058 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00618/0.8375, allocations: 3.188 MB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.8388, allocations: 494.9 kB / 1.061 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006405/0.8394, allocations: 87.28 kB / 1.061 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 4.148e-06/0.8395, allocations: 0 / 1.061 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.003775/0.8432, allocations: 1.338 MB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.8433, allocations: 55.97 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.8463, allocations: 1.525 MB / 1.064 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.8464, allocations: 37.7 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009685/0.8474, allocations: 0.8801 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.8477, allocations: 220.9 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.8479, allocations: 89.66 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.848, allocations: 341.9 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.8492, allocations: 413.8 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.8507, allocations: 0.8022 MB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.8532, allocations: 1.199 MB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.8533, allocations: 4 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003343/0.8566, allocations: 1.38 MB / 1.069 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003494/0.857, allocations: 441.7 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.857, allocations: 19.94 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.8571, allocations: 16 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.8582, allocations: 275.6 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/0.8582, allocations: 27.94 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.8598, allocations: 132.5 kB / 1.07 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.8599, allocations: 55.97 kB / 1.07 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.8599, allocations: 4 kB / 1.07 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002937/0.8629, allocations: 1.18 MB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.8629, allocations: 12 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.8629, allocations: 16.59 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.8641, allocations: 275.6 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/0.8642, allocations: 24.02 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8656, allocations: 140.3 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.8658, allocations: 55.97 kB / 1.072 GB, free: 5.453 MB / 0.8262 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 (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * 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.0009901/0.8668, allocations: 472.8 kB / 1.072 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.8672, allocations: 169.9 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.8706, allocations: 1.194 MB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.8706, allocations: 11.94 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.8706, allocations: 4 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002476/0.8731, allocations: 1.045 MB / 1.075 GB, free: 2.492 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.006535/0.8797, allocations: 2.518 MB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.8797, allocations: 4 kB / 1.077 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.8806, allocations: 171.8 kB / 1.077 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.8808, allocations: 28.78 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.209e-05/0.8809, allocations: 19.98 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.8821, allocations: 1.311 MB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.8821, allocations: 3.938 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.8863, allocations: 1.678 MB / 1.08 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/0.8872, allocations: 346.6 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.8876, allocations: 16 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.8889, allocations: 119.9 kB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.889, allocations: 64.3 kB / 1.081 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.8891, allocations: 31.97 kB / 1.081 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001951/0.8911, allocations: 1.074 MB / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8911, allocations: 0 / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002838/0.8939, allocations: 0.8693 MB / 1.083 GB, free: 9.973 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001924/0.8959, allocations: 0.7213 MB / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0045/0.9004, allocations: 1.706 MB / 1.085 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.9004, allocations: 3.938 kB / 1.085 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.902, allocations: 0.5851 MB / 1.086 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00527/0.9073, allocations: 0.7247 MB / 1.087 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008463/0.9158, allocations: 3.826 MB / 1.09 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.9173, allocations: 1.36 MB / 1.092 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002144/0.9195, allocations: 422 kB / 1.092 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.92, allocations: 135.4 kB / 1.092 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of SimCode: time 1.032e-06/0.92, allocations: 0 / 1.092 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of Templates: time 0.05548/0.9755, allocations: 30.14 MB / 1.122 GB, free: 2.789 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches