Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00742/0.00742, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001721/0.001721, allocations: 190.7 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.84 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8521, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05311/0.9053, allocations: 53.76 MB / 1.219 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02508/0.9304, allocations: 17 MB / 1.236 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.9335, allocations: 87.5 kB / 1.236 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005646/0.9392, allocations: 1.926 MB / 1.238 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.9469, allocations: 2.504 MB / 1.24 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.9535, allocations: 2.345 MB / 1.242 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.9655, allocations: 7.541 MB / 1.25 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.9683, allocations: 1.659 MB / 1.251 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.9732, allocations: 1.919 MB / 1.253 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.9756, allocations: 1.435 MB / 1.255 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.9759, allocations: 176 kB / 1.255 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.9802, allocations: 2.02 MB / 1.257 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000741/0.9809, allocations: 0.6657 MB / 1.257 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.9823, allocations: 1.22 MB / 1.259 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006162/0.9885, allocations: 3.943 MB / 1.263 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9885, allocations: 0 / 1.263 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9886, allocations: 11.94 kB / 1.263 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.164e-05/0.9886, allocations: 0 / 1.263 GB, free: 1.312 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005268/0.9939, allocations: 3.038 MB / 1.266 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.994, allocations: 19.97 kB / 1.266 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.9966, allocations: 0.5604 MB / 1.266 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/1.001, allocations: 2.745 MB / 1.269 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/1.002, allocations: 102 kB / 1.269 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/1.002, allocations: 120 kB / 1.269 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/1.004, allocations: 1.359 MB / 1.27 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/1.004, allocations: 0 / 1.27 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/1.005, allocations: 51.94 kB / 1.27 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/1.005, allocations: 46.06 kB / 1.27 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/1.007, allocations: 1.101 MB / 1.271 GB, free: 7.91 MB / 0.9981 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.01003/1.017, allocations: 7.462 MB / 1.279 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/1.02, allocations: 1.342 MB / 1.28 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.021, allocations: 423.4 kB / 1.28 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005783/1.027, allocations: 3.16 MB / 1.284 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/1.028, allocations: 430.9 kB / 1.284 GB, free: 10.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 2.886e-06/1.028, allocations: 0 / 1.284 GB, free: 10.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.003362/1.031, allocations: 1.257 MB / 1.285 GB, free: 8.805 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/1.031, allocations: 55.97 kB / 1.285 GB, free: 8.738 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/1.034, allocations: 2.133 MB / 1.287 GB, free: 6.578 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/1.034, allocations: 45.7 kB / 1.287 GB, free: 6.527 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008528/1.035, allocations: 1.028 MB / 1.288 GB, free: 5.492 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/1.036, allocations: 230.1 kB / 1.289 GB, free: 5.266 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004225/1.036, allocations: 310.7 kB / 1.289 GB, free: 4.953 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/1.036, allocations: 305.1 kB / 1.289 GB, free: 4.652 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/1.037, allocations: 0.5532 MB / 1.29 GB, free: 4.094 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/1.039, allocations: 0.9885 MB / 1.291 GB, free: 2.918 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/1.041, allocations: 1.452 MB / 1.292 GB, free: 1.301 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.041, allocations: 4 kB / 1.292 GB, free: 1.297 MB / 1.014 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003461/1.045, allocations: 1.783 MB / 1.294 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/1.045, allocations: 37.7 kB / 1.294 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.045, allocations: 15.98 kB / 1.294 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.045, allocations: 20.69 kB / 1.294 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.046, allocations: 307.5 kB / 1.294 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/1.046, allocations: 24.02 kB / 1.294 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.047, allocations: 190.8 kB / 1.294 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.047, allocations: 67.97 kB / 1.294 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001873/1.049, allocations: 0.9717 MB / 1.295 GB, free: 13.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001451/1.051, allocations: 0.996 MB / 1.296 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002411/1.053, allocations: 1.439 MB / 1.298 GB, free: 11.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.562e-06/1.053, allocations: 4 kB / 1.298 GB, free: 11.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003387/1.057, allocations: 1.778 MB / 1.3 GB, free: 9.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.057, allocations: 37.7 kB / 1.3 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.057, allocations: 12 kB / 1.3 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.057, allocations: 20 kB / 1.3 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.058, allocations: 312 kB / 1.3 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.12e-05/1.058, allocations: 23.88 kB / 1.3 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.059, allocations: 163.6 kB / 1.3 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.059, allocations: 59.98 kB / 1.3 GB, free: 8.668 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.0003243/1.06, allocations: 255.8 kB / 1.3 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/1.06, allocations: 218.5 kB / 1.301 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/1.063, allocations: 1.123 MB / 1.302 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.063, allocations: 8 kB / 1.302 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.063, allocations: 7.984 kB / 1.302 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001969/1.065, allocations: 0.9582 MB / 1.303 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004862/1.069, allocations: 2.61 MB / 1.305 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.069, allocations: 7.938 kB / 1.305 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/1.07, allocations: 147.8 kB / 1.305 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/1.07, allocations: 28.91 kB / 1.305 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/1.07, allocations: 23.97 kB / 1.305 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/1.072, allocations: 1.422 MB / 1.307 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.072, allocations: 0 / 1.307 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/1.075, allocations: 1.58 MB / 1.308 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/1.075, allocations: 411.3 kB / 1.309 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/1.076, allocations: 16 kB / 1.309 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/1.077, allocations: 67.86 kB / 1.309 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.077, allocations: 52.5 kB / 1.309 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/1.077, allocations: 35.97 kB / 1.309 GB, free: 15.38 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002144/1.079, allocations: 1.473 MB / 1.31 GB, free: 13.9 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.51e-07/1.079, allocations: 0 / 1.31 GB, free: 13.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002876/1.082, allocations: 1.045 MB / 1.311 GB, free: 12.85 MB / 1.045 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 (69): * Single equations (assignments): 60 * 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.001957/1.084, allocations: 0.8819 MB / 1.312 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004256/1.088, allocations: 2.093 MB / 1.314 GB, free: 9.984 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.088, allocations: 4.125 kB / 1.314 GB, free: 9.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/1.089, allocations: 0.5408 MB / 1.315 GB, free: 9.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/1.094, allocations: 0.9669 MB / 1.316 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/1.101, allocations: 3.686 MB / 1.319 GB, free: 4.742 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/1.102, allocations: 1.535 MB / 1.321 GB, free: 3.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002014/1.104, allocations: 0.528 MB / 1.321 GB, free: 2.645 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/1.104, allocations: 163.4 kB / 1.322 GB, free: 2.484 MB / 1.045 GB Notification: Performance of SimCode: time 8.01e-07/1.104, allocations: 0 / 1.322 GB, free: 2.484 MB / 1.045 GB Notification: Performance of Templates: time 0.06608/1.17, allocations: 39.58 MB / 1.36 GB, free: 11.33 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches