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.617/1.617, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 180.9 kB / 316.3 MB, free: 3.25 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.808/1.808, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009359/0.0009358, allocations: 96.23 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.649e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.852/2.093, allocations: 447.3 MB / 1.322 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/2.094, allocations: 95.69 kB / 1.322 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.123/6.217, allocations: 1.13 GB / 2.452 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.385e-06/6.217, allocations: 0 / 2.452 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003158/6.217, allocations: 61.58 kB / 2.452 GB, free: 120.7 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.00638/6.223, allocations: 2.071 MB / 2.454 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/6.224, allocations: 11.78 kB / 2.454 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/6.227, allocations: 454.3 kB / 2.454 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007828/6.234, allocations: 2.297 MB / 2.456 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/6.234, allocations: 38.41 kB / 2.456 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/6.235, allocations: 72.97 kB / 2.457 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002072/6.237, allocations: 0.778 MB / 2.457 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/6.239, allocations: 1.092 MB / 2.458 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/6.239, allocations: 4.938 kB / 2.458 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/6.239, allocations: 2.688 kB / 2.458 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/6.239, allocations: 30 kB / 2.458 GB, free: 117.5 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.009936/6.249, allocations: 6.679 MB / 2.465 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/6.251, allocations: 1.143 MB / 2.466 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/6.251, allocations: 295.8 kB / 2.466 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005284/6.257, allocations: 2.876 MB / 2.469 GB, free: 109 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/6.257, allocations: 333.9 kB / 2.469 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000799/6.258, allocations: 75.58 kB / 2.47 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.637e-06/6.258, allocations: 0 / 2.47 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.008926/6.267, allocations: 1.482 MB / 2.471 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/6.267, allocations: 161.3 kB / 2.471 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/6.27, allocations: 1.244 MB / 2.472 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/6.27, allocations: 35.55 kB / 2.472 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009526/6.271, allocations: 0.879 MB / 2.473 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/6.271, allocations: 204.5 kB / 2.473 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/6.271, allocations: 2.125 kB / 2.473 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001123/6.271, allocations: 347 kB / 2.474 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/6.272, allocations: 260.5 kB / 2.474 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008365/6.273, allocations: 0.6895 MB / 2.475 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007901/6.281, allocations: 1.181 MB / 2.476 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/6.281, allocations: 7.656 kB / 2.476 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01042/6.291, allocations: 1.825 MB / 2.478 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001379/6.293, allocations: 4.541 MB / 2.482 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/6.293, allocations: 15.34 kB / 2.482 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.117e-05/6.293, allocations: 20.28 kB / 2.482 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/6.294, allocations: 251.5 kB / 2.482 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.034e-05/6.294, allocations: 26.56 kB / 2.482 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/6.296, allocations: 95.92 kB / 2.482 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/6.296, allocations: 53.95 kB / 2.482 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/6.296, allocations: 3.188 kB / 2.482 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009015/6.306, allocations: 1.602 MB / 2.484 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/6.306, allocations: 10.91 kB / 2.484 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/6.306, allocations: 20.5 kB / 2.484 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/6.307, allocations: 248.1 kB / 2.484 GB, free: 99.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/6.307, allocations: 21.94 kB / 2.484 GB, free: 99.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/6.309, allocations: 90.44 kB / 2.484 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/6.309, allocations: 59.84 kB / 2.484 GB, free: 99.96 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * 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.000412/6.31, allocations: 144.9 kB / 2.485 GB, free: 99.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/6.31, allocations: 162.3 kB / 2.485 GB, free: 99.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/6.319, allocations: 1.683 MB / 2.486 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/6.319, allocations: 9.703 kB / 2.486 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/6.319, allocations: 0 / 2.486 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007676/6.327, allocations: 1.538 MB / 2.488 GB, free: 98.85 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01159/6.339, allocations: 2.742 MB / 2.491 GB, free: 97.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/6.339, allocations: 4.062 kB / 2.491 GB, free: 97.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/6.34, allocations: 132.6 kB / 2.491 GB, free: 97.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/6.34, allocations: 27.27 kB / 2.491 GB, free: 97.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/6.34, allocations: 13.05 kB / 2.491 GB, free: 97.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009521/6.341, allocations: 1.272 MB / 2.492 GB, free: 96.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/6.341, allocations: 3.938 kB / 2.492 GB, free: 96.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009322/6.35, allocations: 2.055 MB / 2.494 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/6.351, allocations: 327.6 kB / 2.494 GB, free: 95.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/6.352, allocations: 7.656 kB / 2.494 GB, free: 95.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/6.353, allocations: 77.97 kB / 2.494 GB, free: 95.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/6.353, allocations: 44.98 kB / 2.494 GB, free: 95.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/6.353, allocations: 34.64 kB / 2.495 GB, free: 95.57 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00191/6.355, allocations: 0.9233 MB / 2.495 GB, free: 95.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/6.355, allocations: 0 / 2.495 GB, free: 95.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005681/6.361, allocations: 0.9894 MB / 2.496 GB, free: 94.95 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) * 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 (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.003583/6.364, allocations: 1.246 MB / 2.498 GB, free: 94.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002891/6.367, allocations: 1.365 MB / 2.499 GB, free: 93.92 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/6.367, allocations: 0 / 2.499 GB, free: 93.92 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/6.368, allocations: 439.4 kB / 2.499 GB, free: 93.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004419/6.373, allocations: 0.6328 MB / 2.5 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/6.379, allocations: 2.299 MB / 2.502 GB, free: 92.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/6.38, allocations: 1.406 MB / 2.504 GB, free: 91.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003727/6.383, allocations: 0.5803 MB / 2.504 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/6.384, allocations: 108 kB / 2.504 GB, free: 91.04 MB / 0.8855 GB Notification: Performance of SimCode: time 1.022e-06/6.384, allocations: 4 kB / 2.504 GB, free: 91.04 MB / 0.8855 GB Notification: Performance of Templates: time 0.08833/6.472, allocations: 32.69 MB / 2.536 GB, free: 60.5 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