Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008685/0.0008686, allocations: 88.81 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 12.83 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7825/0.9578, allocations: 447.1 MB / 1.337 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.9582, allocations: 101.5 kB / 1.337 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.795/4.753, allocations: 1.139 GB / 2.476 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.774e-06/4.753, allocations: 3.875 kB / 2.476 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003362/4.754, allocations: 55.36 kB / 2.476 GB, free: 132.5 MB / 0.8855 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.007201/4.761, allocations: 2.566 MB / 2.478 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/4.761, allocations: 7.344 kB / 2.478 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/4.763, allocations: 457.6 kB / 2.479 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006217/4.77, allocations: 2.311 MB / 2.481 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/4.77, allocations: 93.31 kB / 2.481 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/4.77, allocations: 126.1 kB / 2.481 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/4.772, allocations: 1.32 MB / 2.482 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/4.773, allocations: 0 / 2.482 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/4.773, allocations: 49.47 kB / 2.482 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/4.773, allocations: 30.62 kB / 2.483 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/4.775, allocations: 0.9702 MB / 2.483 GB, free: 130.8 MB / 0.8855 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.006965/4.782, allocations: 6.874 MB / 2.49 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/4.783, allocations: 1.271 MB / 2.491 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003531/4.787, allocations: 2.878 MB / 2.494 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007351/4.788, allocations: 422.2 kB / 2.495 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004317/4.788, allocations: 83.48 kB / 2.495 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.076e-06/4.788, allocations: 0 / 2.495 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.002189/4.79, allocations: 1.129 MB / 2.496 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/4.79, allocations: 165.5 kB / 2.496 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/4.792, allocations: 1.352 MB / 2.497 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/4.792, allocations: 45.8 kB / 2.497 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006994/4.793, allocations: 0.8874 MB / 2.498 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/4.793, allocations: 215.5 kB / 2.498 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/4.793, allocations: 20.09 kB / 2.498 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/4.793, allocations: 350.4 kB / 2.499 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/4.794, allocations: 322 kB / 2.499 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/4.795, allocations: 0.7668 MB / 2.5 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/4.796, allocations: 459.8 kB / 2.5 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/4.796, allocations: 3.844 kB / 2.5 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002671/4.798, allocations: 1.223 MB / 2.501 GB, free: 122 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009667/4.799, allocations: 4.551 MB / 2.506 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.644e-05/4.8, allocations: 11.66 kB / 2.506 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/4.8, allocations: 29.52 kB / 2.506 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/4.801, allocations: 251.4 kB / 2.506 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/4.801, allocations: 20.94 kB / 2.506 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/4.802, allocations: 125.3 kB / 2.506 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/4.802, allocations: 53.91 kB / 2.506 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/4.802, allocations: 6.156 kB / 2.506 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001839/4.804, allocations: 1.048 MB / 2.507 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/4.804, allocations: 18.31 kB / 2.507 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/4.804, allocations: 18.47 kB / 2.507 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/4.805, allocations: 244.7 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/4.805, allocations: 23.59 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/4.806, allocations: 113.5 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/4.806, allocations: 58.45 kB / 2.508 GB, free: 117.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008614/4.807, allocations: 489.4 kB / 2.508 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/4.807, allocations: 169.7 kB / 2.508 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/4.81, allocations: 1.052 MB / 2.509 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/4.81, allocations: 10.81 kB / 2.51 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/4.81, allocations: 0 / 2.51 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/4.811, allocations: 0.8954 MB / 2.51 GB, free: 116.5 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.003529/4.815, allocations: 2.277 MB / 2.513 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/4.815, allocations: 0 / 2.513 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/4.815, allocations: 135.3 kB / 2.513 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/4.815, allocations: 23.97 kB / 2.513 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/4.815, allocations: 26.12 kB / 2.513 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000822/4.816, allocations: 1.308 MB / 2.514 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/4.816, allocations: 4.156 kB / 2.514 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/4.819, allocations: 1.478 MB / 2.516 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00068/4.819, allocations: 351.9 kB / 2.516 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/4.82, allocations: 22.86 kB / 2.516 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/4.821, allocations: 95.89 kB / 2.516 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/4.821, allocations: 58 kB / 2.516 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.338e-05/4.821, allocations: 35.5 kB / 2.516 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001399/4.822, allocations: 1.096 MB / 2.517 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.7e-07/4.822, allocations: 0 / 2.517 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003204/4.825, allocations: 1.024 MB / 2.518 GB, free: 114.1 MB / 0.8855 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.x[1],mov.filter.x[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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/4.828, allocations: 1.338 MB / 2.519 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002713/4.83, allocations: 1.555 MB / 2.521 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/4.83, allocations: 3.938 kB / 2.521 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/4.831, allocations: 0.5087 MB / 2.521 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/4.834, allocations: 0.7332 MB / 2.522 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/4.839, allocations: 3.699 MB / 2.526 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/4.84, allocations: 1.403 MB / 2.527 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001862/4.842, allocations: 439.5 kB / 2.528 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/4.842, allocations: 140.2 kB / 2.528 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/4.842, allocations: 0 / 2.528 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04899/4.891, allocations: 35.87 MB / 2.563 GB, free: 109.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches