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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007778/0.0007783, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008581/0.0008581, allocations: 178.5 kB / 16.92 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.9 MB / 0.667 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006017, allocations: 16.28 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7595, allocations: 142.4 MB / 0.9557 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05414/0.8137, allocations: 51.92 MB / 1.006 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02506/0.8388, allocations: 15.12 MB / 1.021 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/0.8429, allocations: 79.5 kB / 1.021 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003813/0.8468, allocations: 0.9463 MB / 1.022 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007836/0.8546, allocations: 2.155 MB / 1.024 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006283/0.8609, allocations: 2.021 MB / 1.026 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009118/0.87, allocations: 6.004 MB / 1.032 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.8732, allocations: 1.357 MB / 1.033 GB, free: 15.76 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/0.878, allocations: 1.61 MB / 1.035 GB, free: 14.14 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.8812, allocations: 1.306 MB / 1.036 GB, free: 12.83 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006533/0.8819, allocations: 68 kB / 1.036 GB, free: 12.76 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.8868, allocations: 1.704 MB / 1.038 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.888, allocations: 426.1 kB / 1.038 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.8898, allocations: 0.9377 MB / 1.039 GB, free: 9.688 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003893/0.8937, allocations: 2.424 MB / 1.042 GB, free: 7.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.8937, allocations: 0 / 1.042 GB, free: 7.258 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8937, allocations: 3.938 kB / 1.042 GB, free: 7.254 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.418e-05/0.8937, allocations: 0 / 1.042 GB, free: 7.254 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.004485/0.8982, allocations: 2.163 MB / 1.044 GB, free: 5.023 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.8983, allocations: 16.03 kB / 1.044 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.901, allocations: 0.5677 MB / 1.044 GB, free: 4.438 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.9046, allocations: 1.682 MB / 1.046 GB, free: 2.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.905, allocations: 150.4 kB / 1.046 GB, free: 2.555 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.9052, allocations: 120 kB / 1.046 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.9081, allocations: 1.402 MB / 1.048 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.9082, allocations: 3.938 kB / 1.048 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.9083, allocations: 51.98 kB / 1.048 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/0.9083, allocations: 42.02 kB / 1.048 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.9113, allocations: 1.179 MB / 1.049 GB, free: 15.66 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.01041/0.9217, allocations: 7.052 MB / 1.056 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.9245, allocations: 1.47 MB / 1.057 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.9256, allocations: 462.9 kB / 1.058 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006308/0.9319, allocations: 3.188 MB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.9332, allocations: 490.9 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000738/0.934, allocations: 83.28 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 4.128e-06/0.934, allocations: 3.938 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.003707/0.9377, allocations: 1.346 MB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.9378, allocations: 59.97 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.94, allocations: 1.513 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.9401, allocations: 37.7 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008358/0.9409, allocations: 0.8878 MB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.9411, allocations: 220.9 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.9413, allocations: 85.67 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9414, allocations: 341.9 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.9425, allocations: 421.7 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.9438, allocations: 0.7944 MB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.9463, allocations: 1.199 MB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.9463, allocations: 4 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003333/0.9496, allocations: 1.383 MB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000397/0.9501, allocations: 446.1 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.9501, allocations: 12 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.9501, allocations: 16 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.9512, allocations: 279.6 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.9513, allocations: 23.92 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.9527, allocations: 128.5 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.9529, allocations: 55.97 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.9529, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00266/0.9556, allocations: 1.189 MB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.9556, allocations: 12.03 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.9556, allocations: 16 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.9566, allocations: 271.6 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.9566, allocations: 19.94 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.958, allocations: 136.4 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.9581, allocations: 51.98 kB / 1.072 GB, free: 6.438 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.0009272/0.959, allocations: 480 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.9593, allocations: 169.9 kB / 1.073 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.9622, allocations: 1.202 MB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.9622, allocations: 7.984 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.9623, allocations: 4 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/0.9645, allocations: 1.041 MB / 1.075 GB, free: 3.473 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.006041/0.9706, allocations: 2.53 MB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.9706, allocations: 0 / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/0.9714, allocations: 167.8 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.9716, allocations: 24.84 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.9717, allocations: 23.97 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.9729, allocations: 1.323 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9729, allocations: 4.156 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.9768, allocations: 1.674 MB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009447/0.9778, allocations: 346.6 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.978, allocations: 23.98 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.979, allocations: 115.9 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.9792, allocations: 56.42 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.9793, allocations: 31.92 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001741/0.981, allocations: 1.081 MB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.981, allocations: 8 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002863/0.9839, allocations: 0.8614 MB / 1.083 GB, free: 10.94 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.001836/0.9858, allocations: 0.7042 MB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004121/0.9899, allocations: 1.715 MB / 1.085 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9899, allocations: 0 / 1.085 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.9913, allocations: 0.5917 MB / 1.086 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003967/0.9953, allocations: 0.7155 MB / 1.086 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/1.002, allocations: 3.892 MB / 1.09 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.003, allocations: 1.36 MB / 1.092 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/1.003, allocations: 147.4 kB / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of SimCode: time 1.012e-06/1.003, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of Templates: time 0.04852/1.052, allocations: 32.83 MB / 1.124 GB, free: 1.227 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/jenkins1/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