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.001379/0.001379, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001339/0.001339, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.373/1.373, 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 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.89 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9192/0.9207, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05639/0.9772, allocations: 53.76 MB / 1.22 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02594/1.003, allocations: 17 MB / 1.236 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003819/1.007, allocations: 87.5 kB / 1.237 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00601/1.013, allocations: 1.947 MB / 1.238 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008055/1.021, allocations: 2.609 MB / 1.241 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006652/1.028, allocations: 2.362 MB / 1.243 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01208/1.04, allocations: 7.551 MB / 1.251 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/1.044, allocations: 1.663 MB / 1.252 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005462/1.049, allocations: 1.963 MB / 1.254 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/1.052, allocations: 1.431 MB / 1.256 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008295/1.053, allocations: 180 kB / 1.256 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005113/1.058, allocations: 2.024 MB / 1.258 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/1.059, allocations: 0.6579 MB / 1.258 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002559/1.062, allocations: 1.22 MB / 1.26 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00834/1.07, allocations: 3.93 MB / 1.263 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.07, allocations: 3.938 kB / 1.263 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/1.07, allocations: 0 / 1.263 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001259/1.07, allocations: 4 kB / 1.263 GB, free: 1.102 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.007724/1.078, allocations: 2.944 MB / 1.266 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.078, allocations: 8.031 kB / 1.266 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/1.081, allocations: 0.5472 MB / 1.267 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006127/1.087, allocations: 2.737 MB / 1.27 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.088, allocations: 94.17 kB / 1.27 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/1.088, allocations: 124 kB / 1.27 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/1.091, allocations: 1.356 MB / 1.271 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/1.091, allocations: 8 kB / 1.271 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/1.091, allocations: 44 kB / 1.271 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.573e-05/1.091, allocations: 46.02 kB / 1.271 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/1.094, allocations: 1.105 MB / 1.272 GB, free: 7.828 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.01169/1.106, allocations: 7.456 MB / 1.279 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/1.109, allocations: 1.334 MB / 1.281 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.11, allocations: 428 kB / 1.281 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006462/1.116, allocations: 3.164 MB / 1.284 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/1.117, allocations: 426.9 kB / 1.285 GB, free: 10.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 4.068e-06/1.117, allocations: 3.938 kB / 1.285 GB, free: 10.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.003517/1.121, allocations: 1.248 MB / 1.286 GB, free: 8.738 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.121, allocations: 67.91 kB / 1.286 GB, free: 8.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/1.125, allocations: 2.129 MB / 1.288 GB, free: 6.504 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/1.125, allocations: 37.7 kB / 1.288 GB, free: 6.461 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.126, allocations: 1.018 MB / 1.289 GB, free: 5.434 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/1.126, allocations: 221 kB / 1.289 GB, free: 5.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/1.127, allocations: 306.5 kB / 1.29 GB, free: 4.906 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.127, allocations: 305.1 kB / 1.29 GB, free: 4.605 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/1.128, allocations: 0.5571 MB / 1.29 GB, free: 4.043 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.13, allocations: 0.9847 MB / 1.291 GB, free: 2.871 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/1.133, allocations: 1.448 MB / 1.293 GB, free: 1.258 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.133, allocations: 4 kB / 1.293 GB, free: 1.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003754/1.136, allocations: 1.779 MB / 1.295 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/1.136, allocations: 37.7 kB / 1.295 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/1.136, allocations: 8 kB / 1.295 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-05/1.136, allocations: 20.69 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.138, allocations: 315.5 kB / 1.295 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.353e-05/1.138, allocations: 23.94 kB / 1.295 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.139, allocations: 178.6 kB / 1.295 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.139, allocations: 59.98 kB / 1.295 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002015/1.141, allocations: 0.9756 MB / 1.296 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001551/1.143, allocations: 0.9883 MB / 1.297 GB, free: 12.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002456/1.145, allocations: 1.454 MB / 1.298 GB, free: 11.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/1.146, allocations: 0 / 1.298 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003681/1.149, allocations: 1.766 MB / 1.3 GB, free: 9.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/1.149, allocations: 45.64 kB / 1.3 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1.149, allocations: 8 kB / 1.3 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.149, allocations: 20 kB / 1.3 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.15, allocations: 311.9 kB / 1.301 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.904e-05/1.151, allocations: 23.94 kB / 1.301 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.152, allocations: 159.3 kB / 1.301 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.152, allocations: 63.98 kB / 1.301 GB, free: 8.645 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.0003476/1.153, allocations: 251.8 kB / 1.301 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/1.153, allocations: 205.6 kB / 1.301 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/1.156, allocations: 1.119 MB / 1.302 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.156, allocations: 11.94 kB / 1.302 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.156, allocations: 0 / 1.302 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001969/1.158, allocations: 0.9582 MB / 1.303 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/1.164, allocations: 2.617 MB / 1.306 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.164, allocations: 4.062 kB / 1.306 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/1.165, allocations: 155.6 kB / 1.306 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/1.165, allocations: 28.84 kB / 1.306 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/1.166, allocations: 23.98 kB / 1.306 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/1.167, allocations: 1.426 MB / 1.307 GB, free: 1.566 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.167, allocations: 0 / 1.307 GB, free: 1.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/1.17, allocations: 1.57 MB / 1.309 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.172, allocations: 398 kB / 1.309 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005327/1.172, allocations: 20 kB / 1.309 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.173, allocations: 71.86 kB / 1.309 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.174, allocations: 52.5 kB / 1.31 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/1.174, allocations: 27.97 kB / 1.31 GB, free: 15.39 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002929/1.177, allocations: 1.477 MB / 1.311 GB, free: 13.9 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.7e-07/1.177, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003774/1.18, allocations: 1.025 MB / 1.312 GB, free: 12.88 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.002457/1.183, allocations: 0.8867 MB / 1.313 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004648/1.187, allocations: 2.097 MB / 1.315 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.187, allocations: 0.5625 kB / 1.315 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/1.189, allocations: 0.533 MB / 1.315 GB, free: 9.449 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/1.194, allocations: 0.9658 MB / 1.316 GB, free: 8.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/1.202, allocations: 3.709 MB / 1.32 GB, free: 4.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/1.203, allocations: 1.535 MB / 1.321 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/1.204, allocations: 183.3 kB / 1.322 GB, free: 3.004 MB / 1.045 GB Notification: Performance of SimCode: time 1.112e-06/1.204, allocations: 4 kB / 1.322 GB, free: 3 MB / 1.045 GB Notification: Performance of Templates: time 0.06633/1.27, allocations: 40.49 MB / 1.361 GB, free: 10.71 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/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