Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001154/0.001154, allocations: 173.9 kB / 326.5 MB, free: 2.23 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.592/1.592, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008648/0.0008649, allocations: 99.06 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 12.69 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.018/5.209, allocations: 2.434 GB / 3.335 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/5.209, allocations: 88.89 kB / 3.335 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.917/7.126, allocations: 0.5845 GB / 3.919 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/7.126, allocations: 3.438 kB / 3.919 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001785/7.127, allocations: 39.2 kB / 3.919 GB, free: 216.4 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.00414/7.131, allocations: 1.543 MB / 3.921 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/7.131, allocations: 7.531 kB / 3.921 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/7.134, allocations: 0.5777 MB / 3.921 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/7.137, allocations: 0.9304 MB / 3.922 GB, free: 215 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/7.137, allocations: 58.34 kB / 3.922 GB, free: 215 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/7.137, allocations: 84.31 kB / 3.922 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/7.139, allocations: 1.081 MB / 3.923 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/7.139, allocations: 3.75 kB / 3.923 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/7.14, allocations: 30.94 kB / 3.923 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/7.14, allocations: 15.28 kB / 3.923 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/7.142, allocations: 1.007 MB / 3.924 GB, free: 214.2 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.005045/7.147, allocations: 4.968 MB / 3.929 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/7.15, allocations: 0.9619 MB / 3.93 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/7.151, allocations: 1.594 MB / 3.932 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/7.152, allocations: 0.5774 MB / 3.932 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 2.805e-06/7.152, allocations: 0 / 3.932 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.003974/7.156, allocations: 1.513 MB / 3.934 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/7.156, allocations: 63.34 kB / 3.934 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/7.157, allocations: 0.994 MB / 3.935 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.084e-05/7.157, allocations: 45.39 kB / 3.935 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/7.158, allocations: 0.5498 MB / 3.935 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/7.158, allocations: 206.2 kB / 3.936 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/7.158, allocations: 15.66 kB / 3.936 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/7.158, allocations: 332.5 kB / 3.936 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/7.159, allocations: 456.2 kB / 3.936 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/7.161, allocations: 0.7757 MB / 3.937 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/7.162, allocations: 0.4968 MB / 3.938 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/7.162, allocations: 3.906 kB / 3.938 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002907/7.165, allocations: 1.28 MB / 3.939 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/7.165, allocations: 7.5 kB / 3.939 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/7.165, allocations: 7.281 kB / 3.939 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/7.165, allocations: 18.58 kB / 3.939 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/7.166, allocations: 280.2 kB / 3.939 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/7.166, allocations: 19.55 kB / 3.939 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/7.167, allocations: 213.4 kB / 3.939 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/7.168, allocations: 52.02 kB / 3.939 GB, free: 203.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004739/7.168, allocations: 303 kB / 3.94 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/7.168, allocations: 116.5 kB / 3.94 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/7.172, allocations: 1.438 MB / 3.941 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/7.172, allocations: 11.02 kB / 3.941 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/7.172, allocations: 3.953 kB / 3.941 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/7.172, allocations: 3.984 kB / 3.941 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/7.176, allocations: 2.481 MB / 3.944 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/7.176, allocations: 3.562 kB / 3.944 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009958/7.177, allocations: 198 kB / 3.944 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/7.177, allocations: 3.969 kB / 3.944 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/7.177, allocations: 27.47 kB / 3.944 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/7.177, allocations: 10.25 kB / 3.944 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/7.177, allocations: 0 / 3.944 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/7.181, allocations: 2.121 MB / 3.946 GB, free: 200 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/7.182, allocations: 320.8 kB / 3.946 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/7.182, allocations: 11.62 kB / 3.946 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/7.183, allocations: 130.3 kB / 3.946 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/7.183, allocations: 59.81 kB / 3.946 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/7.183, allocations: 35.23 kB / 3.946 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008483/7.184, allocations: 0.7687 MB / 3.947 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/7.184, allocations: 0 / 3.947 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001283/7.185, allocations: 393.5 kB / 3.948 GB, free: 199.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/7.187, allocations: 0.8168 MB / 3.948 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002817/7.19, allocations: 1.143 MB / 3.949 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/7.19, allocations: 0 / 3.949 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/7.191, allocations: 0.5996 MB / 3.95 GB, free: 198.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/7.193, allocations: 426.8 kB / 3.95 GB, free: 198 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/7.198, allocations: 2.766 MB / 3.953 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/7.198, allocations: 1.137 MB / 3.954 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001031/7.199, allocations: 262.7 kB / 3.955 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/7.2, allocations: 111.2 kB / 3.955 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/7.2, allocations: 0 / 3.955 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.0314/7.231, allocations: 21.42 MB / 3.976 GB, free: 175 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches