Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007807/0.007807, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.00188/0.00188, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3205, allocations: 159.1 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.7325/1.053, allocations: 53.85 MB / 1.273 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02851/1.082, allocations: 17.03 MB / 1.29 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004794/1.086, allocations: 89.34 kB / 1.29 GB, free: 9.078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007069/1.093, allocations: 1.951 MB / 1.292 GB, free: 8.199 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008998/1.102, allocations: 2.611 MB / 1.294 GB, free: 6.684 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00897/1.111, allocations: 2.356 MB / 1.297 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01554/1.127, allocations: 7.555 MB / 1.304 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003538/1.13, allocations: 1.406 MB / 1.305 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005458/1.136, allocations: 1.965 MB / 1.307 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/1.139, allocations: 1.429 MB / 1.309 GB, free: 260 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007918/1.14, allocations: 178.9 kB / 1.309 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006232/1.146, allocations: 2.023 MB / 1.311 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001391/1.148, allocations: 0.6814 MB / 1.312 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003295/1.151, allocations: 1.217 MB / 1.313 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/1.162, allocations: 3.938 MB / 1.317 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.162, allocations: 0 / 1.317 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/1.162, allocations: 0.75 kB / 1.317 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001429/1.162, allocations: 0 / 1.317 GB, free: 12.96 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.009658/1.172, allocations: 3.045 MB / 1.32 GB, free: 10.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.172, allocations: 13.58 kB / 1.32 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/1.175, allocations: 0.5636 MB / 1.32 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006791/1.182, allocations: 2.747 MB / 1.323 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/1.182, allocations: 98.42 kB / 1.323 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004268/1.183, allocations: 126.2 kB / 1.323 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/1.186, allocations: 1.361 MB / 1.324 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/1.186, allocations: 1.5 kB / 1.324 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/1.186, allocations: 49.91 kB / 1.324 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/1.186, allocations: 40.98 kB / 1.325 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/1.189, allocations: 1.111 MB / 1.326 GB, free: 8.176 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.0124/1.202, allocations: 7.468 MB / 1.333 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/1.204, allocations: 1.302 MB / 1.334 GB, free: 1.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.205, allocations: 396.2 kB / 1.335 GB, free: 1.453 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006861/1.212, allocations: 3.158 MB / 1.338 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.213, allocations: 432.9 kB / 1.338 GB, free: 14.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 2.865e-06/1.213, allocations: 0 / 1.338 GB, free: 14.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.004001/1.217, allocations: 1.252 MB / 1.339 GB, free: 13.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/1.217, allocations: 58.62 kB / 1.339 GB, free: 13.53 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005698/1.223, allocations: 2.132 MB / 1.341 GB, free: 12.37 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/1.223, allocations: 39.05 kB / 1.341 GB, free: 12.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.225, allocations: 1.035 MB / 1.342 GB, free: 11.42 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/1.225, allocations: 236.2 kB / 1.343 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007958/1.226, allocations: 307 kB / 1.343 GB, free: 11.04 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/1.226, allocations: 306 kB / 1.343 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.228, allocations: 0.5554 MB / 1.344 GB, free: 10.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/1.229, allocations: 0.9846 MB / 1.345 GB, free: 9.629 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/1.233, allocations: 1.446 MB / 1.346 GB, free: 8.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/1.233, allocations: 3.781 kB / 1.346 GB, free: 8.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004854/1.238, allocations: 1.784 MB / 1.348 GB, free: 7.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/1.238, allocations: 44.64 kB / 1.348 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/1.238, allocations: 10.75 kB / 1.348 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.897e-05/1.238, allocations: 18.38 kB / 1.348 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.239, allocations: 309.6 kB / 1.348 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.951e-05/1.239, allocations: 26.25 kB / 1.348 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/1.241, allocations: 188.2 kB / 1.348 GB, free: 7.457 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/1.242, allocations: 61.58 kB / 1.349 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00249/1.244, allocations: 0.9707 MB / 1.349 GB, free: 6.895 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001809/1.246, allocations: 0.9963 MB / 1.35 GB, free: 6.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002822/1.249, allocations: 1.448 MB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.787e-05/1.249, allocations: 7.438 kB / 1.352 GB, free: 5.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.004266/1.253, allocations: 1.769 MB / 1.354 GB, free: 4.137 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/1.253, allocations: 47.98 kB / 1.354 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.253, allocations: 14.06 kB / 1.354 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/1.253, allocations: 17.66 kB / 1.354 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.254, allocations: 307.4 kB / 1.354 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/1.254, allocations: 26.03 kB / 1.354 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.256, allocations: 166.7 kB / 1.354 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.257, allocations: 63.42 kB / 1.354 GB, free: 3.902 MB / 1.045 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.0004195/1.257, allocations: 261 kB / 1.354 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007168/1.258, allocations: 213.8 kB / 1.355 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/1.261, allocations: 1.125 MB / 1.356 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/1.261, allocations: 6.406 kB / 1.356 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.261, allocations: 0.9062 kB / 1.356 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00207/1.263, allocations: 0.9589 MB / 1.357 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007184/1.27, allocations: 2.618 MB / 1.359 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.27, allocations: 1.375 kB / 1.359 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/1.271, allocations: 150.7 kB / 1.359 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/1.271, allocations: 30.19 kB / 1.359 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/1.271, allocations: 23.67 kB / 1.359 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.272, allocations: 1.424 MB / 1.361 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.272, allocations: 5.562 kB / 1.361 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/1.276, allocations: 1.578 MB / 1.362 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.277, allocations: 410.1 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/1.278, allocations: 10.41 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.279, allocations: 74.5 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.279, allocations: 56.2 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.878e-05/1.279, allocations: 31.16 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002782/1.282, allocations: 1.476 MB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.01e-07/1.282, allocations: 0 / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004031/1.286, allocations: 1.037 MB / 1.365 GB, free: 12.71 MB / 1.061 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.002451/1.289, allocations: 0.8697 MB / 1.366 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004652/1.293, allocations: 1.955 MB / 1.368 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.293, allocations: 0 / 1.368 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.295, allocations: 0.5203 MB / 1.369 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005295/1.3, allocations: 0.9721 MB / 1.37 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008292/1.308, allocations: 3.674 MB / 1.373 GB, free: 6.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.31, allocations: 1.542 MB / 1.375 GB, free: 5.363 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00267/1.313, allocations: 0.5357 MB / 1.375 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/1.313, allocations: 167.4 kB / 1.375 GB, free: 4.66 MB / 1.061 GB Notification: Performance of SimCode: time 1.383e-06/1.313, allocations: 0 / 1.375 GB, free: 4.66 MB / 1.061 GB Notification: Performance of Templates: time 0.0686/1.382, allocations: 39.72 MB / 1.414 GB, free: 13.43 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches