Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001333/0.001333, allocations: 106 kB / 16.41 MB, free: 6.461 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.001359/0.001359, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 67.89 kB / 1.055 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05536/1.067, allocations: 53.75 MB / 1.261 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02865/1.096, allocations: 17.02 MB / 1.278 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004102/1.1, allocations: 87.5 kB / 1.278 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006797/1.107, allocations: 1.919 MB / 1.28 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008424/1.115, allocations: 2.505 MB / 1.282 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00694/1.122, allocations: 2.34 MB / 1.284 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01234/1.135, allocations: 7.542 MB / 1.292 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/1.139, allocations: 1.666 MB / 1.293 GB, free: 6.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005847/1.145, allocations: 1.961 MB / 1.295 GB, free: 4.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00317/1.148, allocations: 1.435 MB / 1.297 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008822/1.149, allocations: 176 kB / 1.297 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00527/1.154, allocations: 2.02 MB / 1.299 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001216/1.155, allocations: 0.6618 MB / 1.299 GB, free: 196 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/1.158, allocations: 1.224 MB / 1.301 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008419/1.167, allocations: 3.922 MB / 1.304 GB, free: 11.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.167, allocations: 0 / 1.304 GB, free: 11.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/1.167, allocations: 7.938 kB / 1.304 GB, free: 11.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001484/1.167, allocations: 4 kB / 1.304 GB, free: 11.02 MB / 1.029 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.007731/1.174, allocations: 2.932 MB / 1.307 GB, free: 8.004 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.175, allocations: 16.03 kB / 1.307 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/1.178, allocations: 0.5472 MB / 1.308 GB, free: 7.438 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/1.184, allocations: 2.738 MB / 1.31 GB, free: 4.625 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.184, allocations: 94.17 kB / 1.311 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/1.185, allocations: 120 kB / 1.311 GB, free: 4.414 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/1.188, allocations: 1.363 MB / 1.312 GB, free: 2.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/1.188, allocations: 0 / 1.312 GB, free: 2.953 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/1.188, allocations: 48 kB / 1.312 GB, free: 2.906 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/1.188, allocations: 46.06 kB / 1.312 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003058/1.191, allocations: 1.101 MB / 1.313 GB, free: 1.75 MB / 1.029 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.01212/1.203, allocations: 7.468 MB / 1.32 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/1.206, allocations: 1.336 MB / 1.322 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/1.207, allocations: 422.8 kB / 1.322 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006079/1.213, allocations: 3.156 MB / 1.325 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/1.214, allocations: 426.9 kB / 1.326 GB, free: 3.926 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 6.122e-06/1.214, allocations: 0 / 1.326 GB, free: 3.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.003644/1.218, allocations: 1.252 MB / 1.327 GB, free: 2.645 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.218, allocations: 55.97 kB / 1.327 GB, free: 2.578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/1.222, allocations: 2.129 MB / 1.329 GB, free: 432 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/1.222, allocations: 45.7 kB / 1.329 GB, free: 380 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.223, allocations: 1.014 MB / 1.33 GB, free: 15.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/1.224, allocations: 221 kB / 1.33 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/1.224, allocations: 310.5 kB / 1.331 GB, free: 14.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/1.224, allocations: 305.1 kB / 1.331 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/1.225, allocations: 0.5532 MB / 1.331 GB, free: 13.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/1.227, allocations: 0.9885 MB / 1.332 GB, free: 12.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/1.23, allocations: 1.448 MB / 1.334 GB, free: 11.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.23, allocations: 0 / 1.334 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003867/1.234, allocations: 1.77 MB / 1.335 GB, free: 9.383 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/1.234, allocations: 37.7 kB / 1.336 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.234, allocations: 12 kB / 1.336 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/1.234, allocations: 20.69 kB / 1.336 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.235, allocations: 315.5 kB / 1.336 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/1.235, allocations: 23.92 kB / 1.336 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.237, allocations: 186.5 kB / 1.336 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.237, allocations: 59.98 kB / 1.336 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002078/1.239, allocations: 0.9756 MB / 1.337 GB, free: 7.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001595/1.241, allocations: 0.9924 MB / 1.338 GB, free: 6.578 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002602/1.243, allocations: 1.443 MB / 1.339 GB, free: 4.969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/1.243, allocations: 4 kB / 1.339 GB, free: 4.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003908/1.247, allocations: 1.769 MB / 1.341 GB, free: 3.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/1.247, allocations: 41.64 kB / 1.341 GB, free: 3.133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/1.247, allocations: 12 kB / 1.341 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/1.247, allocations: 20 kB / 1.341 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.248, allocations: 316 kB / 1.342 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/1.248, allocations: 19.94 kB / 1.342 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.25, allocations: 163.6 kB / 1.342 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.251, allocations: 59.98 kB / 1.342 GB, free: 2.555 MB / 1.061 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.0004428/1.251, allocations: 255.8 kB / 1.342 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006763/1.252, allocations: 205.4 kB / 1.342 GB, free: 2.094 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/1.255, allocations: 1.134 MB / 1.343 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.255, allocations: 8 kB / 1.343 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.255, allocations: 3.938 kB / 1.343 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00205/1.257, allocations: 0.9544 MB / 1.344 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006286/1.263, allocations: 2.621 MB / 1.347 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.263, allocations: 4 kB / 1.347 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007803/1.264, allocations: 147.7 kB / 1.347 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/1.264, allocations: 28.91 kB / 1.347 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/1.264, allocations: 19.98 kB / 1.347 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/1.266, allocations: 1.425 MB / 1.348 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.266, allocations: 0 / 1.348 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/1.269, allocations: 1.563 MB / 1.35 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.271, allocations: 406 kB / 1.35 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006372/1.271, allocations: 16 kB / 1.35 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.273, allocations: 71.86 kB / 1.35 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.273, allocations: 48.62 kB / 1.35 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.273, allocations: 39.97 kB / 1.351 GB, free: 9.293 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002999/1.276, allocations: 1.473 MB / 1.352 GB, free: 7.809 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.21e-07/1.276, allocations: 0 / 1.352 GB, free: 7.809 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0038/1.28, allocations: 1.025 MB / 1.353 GB, free: 6.781 MB / 1.076 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.002393/1.282, allocations: 0.8799 MB / 1.354 GB, free: 6.035 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004789/1.287, allocations: 2.097 MB / 1.356 GB, free: 3.918 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.287, allocations: 128 / 1.356 GB, free: 3.918 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/1.288, allocations: 0.5331 MB / 1.356 GB, free: 3.375 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/1.293, allocations: 0.9728 MB / 1.357 GB, free: 2.426 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/1.301, allocations: 3.697 MB / 1.361 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/1.303, allocations: 1.538 MB / 1.362 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/1.304, allocations: 175.4 kB / 1.363 GB, free: 12.94 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/1.304, allocations: 0 / 1.363 GB, free: 12.94 MB / 1.092 GB Notification: Performance of Templates: time 0.05947/1.363, allocations: 40.5 MB / 1.402 GB, free: 4.688 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches