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.001722/0.001722, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001556/0.001556, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.499/2.499, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.83 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3484, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06309/0.4115, allocations: 53.76 MB / 1.07 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5757/0.9873, allocations: 16.99 MB / 1.087 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.9923, allocations: 89.31 kB / 1.087 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/1.005, allocations: 4.355 MB / 1.091 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/1.015, allocations: 2.407 MB / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008014/1.023, allocations: 2.276 MB / 1.096 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0138/1.037, allocations: 7.414 MB / 1.103 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0041/1.041, allocations: 1.659 MB / 1.105 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/1.047, allocations: 1.878 MB / 1.107 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003561/1.051, allocations: 1.401 MB / 1.108 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/1.052, allocations: 171.7 kB / 1.108 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/1.059, allocations: 2.007 MB / 1.11 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001662/1.06, allocations: 0.6526 MB / 1.111 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003753/1.064, allocations: 1.218 MB / 1.112 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/1.075, allocations: 3.836 MB / 1.116 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.075, allocations: 0 / 1.116 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-06/1.075, allocations: 0 / 1.116 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001623/1.075, allocations: 1.469 kB / 1.116 GB, free: 5.555 MB / 0.8419 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.009315/1.084, allocations: 2.936 MB / 1.119 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.084, allocations: 13.55 kB / 1.119 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/1.088, allocations: 0.5454 MB / 1.119 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006301/1.094, allocations: 2.606 MB / 1.122 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/1.095, allocations: 155.2 kB / 1.122 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005164/1.095, allocations: 128.2 kB / 1.122 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/1.099, allocations: 1.367 MB / 1.123 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/1.099, allocations: 2.25 kB / 1.123 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/1.1, allocations: 51.22 kB / 1.123 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/1.1, allocations: 40.17 kB / 1.123 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/1.103, allocations: 1.125 MB / 1.124 GB, free: 1.008 MB / 0.8419 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.01407/1.117, allocations: 7.493 MB / 1.132 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/1.12, allocations: 1.365 MB / 1.133 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/1.121, allocations: 426.3 kB / 1.134 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007247/1.129, allocations: 3.158 MB / 1.137 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/1.13, allocations: 439.2 kB / 1.137 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 3.456e-06/1.13, allocations: 3.938 kB / 1.137 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.004167/1.134, allocations: 1.264 MB / 1.138 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/1.134, allocations: 58.59 kB / 1.138 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/1.139, allocations: 2.11 MB / 1.14 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/1.14, allocations: 42.67 kB / 1.14 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/1.141, allocations: 1.021 MB / 1.141 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/1.141, allocations: 216.3 kB / 1.142 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007406/1.142, allocations: 318.9 kB / 1.142 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.142, allocations: 302.3 kB / 1.142 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.144, allocations: 0.5591 MB / 1.143 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/1.145, allocations: 0.9963 MB / 1.144 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/1.149, allocations: 1.468 MB / 1.145 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/1.149, allocations: 2.656 kB / 1.145 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004531/1.153, allocations: 1.78 MB / 1.147 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/1.153, allocations: 45.03 kB / 1.147 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.153, allocations: 11.25 kB / 1.147 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.124e-05/1.153, allocations: 18.12 kB / 1.147 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.154, allocations: 312.9 kB / 1.147 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-05/1.154, allocations: 28.11 kB / 1.147 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.157, allocations: 191.1 kB / 1.147 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.157, allocations: 59.14 kB / 1.148 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002353/1.159, allocations: 0.9799 MB / 1.148 GB, free: 188 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001846/1.161, allocations: 0.9981 MB / 1.149 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002863/1.164, allocations: 1.473 MB / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.919e-05/1.164, allocations: 2.531 kB / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.004226/1.168, allocations: 1.771 MB / 1.153 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/1.168, allocations: 41.42 kB / 1.153 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.168, allocations: 10.59 kB / 1.153 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/1.168, allocations: 19.47 kB / 1.153 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.169, allocations: 314.3 kB / 1.153 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.58e-05/1.169, allocations: 30.8 kB / 1.153 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/1.171, allocations: 161.8 kB / 1.153 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.172, allocations: 62.3 kB / 1.153 GB, free: 13.19 MB / 0.8731 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.0004096/1.172, allocations: 256.1 kB / 1.153 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007619/1.173, allocations: 205.4 kB / 1.154 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/1.176, allocations: 1.131 MB / 1.155 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/1.176, allocations: 16.48 kB / 1.155 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.176, allocations: 1.188 kB / 1.155 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002105/1.178, allocations: 0.9681 MB / 1.156 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/1.186, allocations: 2.61 MB / 1.158 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.186, allocations: 2.062 kB / 1.158 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/1.187, allocations: 158.8 kB / 1.158 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/1.187, allocations: 31.38 kB / 1.158 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/1.187, allocations: 21.39 kB / 1.159 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/1.188, allocations: 1.426 MB / 1.16 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.188, allocations: 0 / 1.16 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/1.192, allocations: 1.59 MB / 1.161 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.193, allocations: 392.4 kB / 1.162 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007605/1.194, allocations: 20.89 kB / 1.162 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.196, allocations: 66.91 kB / 1.162 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.196, allocations: 57.73 kB / 1.162 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/1.196, allocations: 28.58 kB / 1.162 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003496/1.2, allocations: 1.468 MB / 1.163 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.136e-06/1.2, allocations: 0 / 1.163 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0051/1.205, allocations: 1.034 MB / 1.164 GB, free: 5.711 MB / 0.8731 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.003034/1.208, allocations: 0.8687 MB / 1.165 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005803/1.214, allocations: 2.178 MB / 1.167 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.214, allocations: 1.812 kB / 1.167 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.215, allocations: 0.5409 MB / 1.168 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00626/1.221, allocations: 0.9667 MB / 1.169 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/1.231, allocations: 3.783 MB / 1.173 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/1.233, allocations: 1.538 MB / 1.174 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008572/1.233, allocations: 175.4 kB / 1.174 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of SimCode: time 1.372e-06/1.233, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of Templates: time 0.06718/1.301, allocations: 40.22 MB / 1.214 GB, free: 3.809 MB / 0.92 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/jenkins1/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