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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 489.7 MB / 0.7761 GB, free: 2.555 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=509,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=509,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 1.127 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 172 MB / 1.295 GB, free: 38.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04271/1.16, allocations: 54.23 MB / 1.348 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03087/1.191, allocations: 17.06 MB / 1.364 GB, free: 3.926 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/1.195, allocations: 90 kB / 1.365 GB, free: 3.895 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007067/1.202, allocations: 1.945 MB / 1.366 GB, free: 3.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009556/1.212, allocations: 2.618 MB / 1.369 GB, free: 1.496 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008246/1.22, allocations: 2.378 MB / 1.371 GB, free: 264 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01495/1.235, allocations: 7.353 MB / 1.379 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/1.238, allocations: 1.406 MB / 1.38 GB, free: 12.67 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006486/1.245, allocations: 2.09 MB / 1.382 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/1.248, allocations: 1.454 MB / 1.383 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006173/1.249, allocations: 175.3 kB / 1.384 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/1.256, allocations: 2.054 MB / 1.386 GB, free: 10.38 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001282/1.257, allocations: 0.6716 MB / 1.386 GB, free: 10.04 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002539/1.259, allocations: 1.214 MB / 1.387 GB, free: 9.258 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/1.27, allocations: 3.918 MB / 1.391 GB, free: 7.754 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.27, allocations: 0 / 1.391 GB, free: 7.754 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.016e-06/1.27, allocations: 0 / 1.391 GB, free: 7.754 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001275/1.27, allocations: 1.156 kB / 1.391 GB, free: 7.754 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008597/1.279, allocations: 3.018 MB / 1.394 GB, free: 5.746 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.279, allocations: 9.312 kB / 1.394 GB, free: 5.746 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/1.282, allocations: 0.5585 MB / 1.395 GB, free: 5.582 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006719/1.289, allocations: 2.728 MB / 1.397 GB, free: 4.18 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/1.289, allocations: 91.66 kB / 1.397 GB, free: 4.137 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/1.289, allocations: 125.7 kB / 1.398 GB, free: 4.094 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/1.292, allocations: 1.359 MB / 1.399 GB, free: 3.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/1.292, allocations: 6.266 kB / 1.399 GB, free: 3.426 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.292, allocations: 51.88 kB / 1.399 GB, free: 3.387 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/1.292, allocations: 33.25 kB / 1.399 GB, free: 3.383 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/1.295, allocations: 1.095 MB / 1.4 GB, free: 3.016 MB / 1.092 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.0131/1.309, allocations: 7.475 MB / 1.407 GB, free: 13.26 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/1.311, allocations: 1.327 MB / 1.409 GB, free: 12.38 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/1.313, allocations: 401 kB / 1.409 GB, free: 12.24 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/1.319, allocations: 3.059 MB / 1.412 GB, free: 9.738 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/1.32, allocations: 424.5 kB / 1.412 GB, free: 9.586 MB / 1.107 GB Notification: Performance of pre-optimization done (n=57): time 3.376e-06/1.32, allocations: 0 / 1.412 GB, free: 9.586 MB / 1.107 GB Notification: Performance of matching and sorting (n=57): time 0.003879/1.324, allocations: 1.274 MB / 1.414 GB, free: 9.059 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/1.324, allocations: 57.78 kB / 1.414 GB, free: 8.996 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/1.328, allocations: 2.109 MB / 1.416 GB, free: 8.184 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/1.328, allocations: 43.59 kB / 1.416 GB, free: 8.141 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.33, allocations: 1.034 MB / 1.417 GB, free: 7.328 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/1.33, allocations: 217.6 kB / 1.417 GB, free: 7.16 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005267/1.33, allocations: 307.7 kB / 1.417 GB, free: 7.02 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.33, allocations: 302.3 kB / 1.418 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/1.332, allocations: 0.5524 MB / 1.418 GB, free: 6.527 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/1.334, allocations: 0.9915 MB / 1.419 GB, free: 5.797 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.336, allocations: 1.442 MB / 1.421 GB, free: 4.879 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.336, allocations: 3.969 kB / 1.421 GB, free: 4.879 MB / 1.107 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004277/1.341, allocations: 1.775 MB / 1.422 GB, free: 4.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/1.341, allocations: 37 kB / 1.422 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.341, allocations: 11.59 kB / 1.422 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.391e-05/1.341, allocations: 19.44 kB / 1.422 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.342, allocations: 303.8 kB / 1.423 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.939e-05/1.342, allocations: 24.92 kB / 1.423 GB, free: 4.094 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/1.344, allocations: 189.2 kB / 1.423 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.344, allocations: 63.62 kB / 1.423 GB, free: 3.988 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002373/1.347, allocations: 0.9697 MB / 1.424 GB, free: 3.461 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001645/1.348, allocations: 0.9884 MB / 1.425 GB, free: 2.633 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002722/1.351, allocations: 1.445 MB / 1.426 GB, free: 1.598 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.756e-06/1.351, allocations: 6.906 kB / 1.426 GB, free: 1.594 MB / 1.107 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.004214/1.355, allocations: 1.772 MB / 1.428 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/1.355, allocations: 36.98 kB / 1.428 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/1.355, allocations: 13.22 kB / 1.428 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/1.355, allocations: 18.19 kB / 1.428 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.356, allocations: 305.5 kB / 1.428 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/1.356, allocations: 25.98 kB / 1.428 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.358, allocations: 161.6 kB / 1.429 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/1.359, allocations: 66.98 kB / 1.429 GB, free: 488 kB / 1.107 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 (151): * Single equations (assignments): 148 * 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.0004998/1.359, allocations: 264.8 kB / 1.429 GB, free: 236 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006/1.36, allocations: 207.8 kB / 1.429 GB, free: 116 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/1.363, allocations: 1.13 MB / 1.43 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.363, allocations: 7.562 kB / 1.43 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.363, allocations: 1.094 kB / 1.43 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00218/1.365, allocations: 0.9704 MB / 1.431 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/1.372, allocations: 2.581 MB / 1.434 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.372, allocations: 1.156 kB / 1.434 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/1.373, allocations: 144 kB / 1.434 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/1.373, allocations: 37 kB / 1.434 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/1.373, allocations: 27.2 kB / 1.434 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/1.374, allocations: 1.478 MB / 1.435 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.374, allocations: 1.75 kB / 1.435 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004106/1.378, allocations: 1.561 MB / 1.437 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.38, allocations: 408.3 kB / 1.437 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/1.38, allocations: 16.44 kB / 1.437 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.381, allocations: 74.12 kB / 1.437 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.381, allocations: 53.08 kB / 1.437 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/1.381, allocations: 34.31 kB / 1.437 GB, free: 10.29 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002829/1.384, allocations: 1.46 MB / 1.439 GB, free: 9.504 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.384, allocations: 0 / 1.439 GB, free: 9.504 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004473/1.389, allocations: 1.03 MB / 1.44 GB, free: 9.281 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,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 (66): * Single equations (assignments): 57 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003026/1.392, allocations: 0.8841 MB / 1.441 GB, free: 8.848 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004978/1.397, allocations: 1.958 MB / 1.443 GB, free: 7.891 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.397, allocations: 1.375 kB / 1.443 GB, free: 7.891 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.398, allocations: 0.5186 MB / 1.443 GB, free: 7.594 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/1.403, allocations: 0.9672 MB / 1.444 GB, free: 7.09 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/1.411, allocations: 3.762 MB / 1.448 GB, free: 3.898 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.412, allocations: 1.523 MB / 1.449 GB, free: 2.34 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/1.413, allocations: 187.3 kB / 1.449 GB, free: 2.156 MB / 1.123 GB Notification: Performance of SimCode: time 1.623e-06/1.413, allocations: 0 / 1.449 GB, free: 2.156 MB / 1.123 GB Notification: Performance of Templates: time 0.06583/1.479, allocations: 40.36 MB / 1.489 GB, free: 10.04 MB / 1.17 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches