Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,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|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001143/0.001143, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009195/0.0009197, allocations: 88.03 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.491e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2191, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.198/6.417, allocations: 2.186 GB / 3.078 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/6.418, allocations: 89.02 kB / 3.078 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.467/8.885, allocations: 0.6583 GB / 3.736 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/8.885, allocations: 0 / 3.736 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001945/8.885, allocations: 43.98 kB / 3.736 GB, free: 140 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006759/8.892, allocations: 1.747 MB / 3.738 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/8.892, allocations: 12.03 kB / 3.738 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/8.897, allocations: 0.8761 MB / 3.739 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/8.901, allocations: 1.114 MB / 3.74 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/8.901, allocations: 77.12 kB / 3.74 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/8.901, allocations: 92 kB / 3.74 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/8.904, allocations: 1.267 MB / 3.741 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/8.904, allocations: 0 / 3.741 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/8.904, allocations: 39.88 kB / 3.741 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/8.904, allocations: 53.92 kB / 3.741 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/8.906, allocations: 1.253 MB / 3.743 GB, free: 133.4 MB / 0.8698 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.0067/8.912, allocations: 4.798 MB / 3.747 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/8.914, allocations: 1.059 MB / 3.748 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/8.914, allocations: 0.5811 MB / 3.749 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/8.916, allocations: 0.9372 MB / 3.75 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008515/8.916, allocations: 0.6385 MB / 3.75 GB, free: 125 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=95): time 3.146e-06/8.916, allocations: 0 / 3.75 GB, free: 125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002505/8.919, allocations: 1.217 MB / 3.752 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/8.919, allocations: 60.19 kB / 3.752 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/8.92, allocations: 1.06 MB / 3.753 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/8.92, allocations: 49.7 kB / 3.753 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/8.921, allocations: 0.5488 MB / 3.753 GB, free: 122 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/8.921, allocations: 331.3 kB / 3.754 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/8.921, allocations: 20 kB / 3.754 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/8.921, allocations: 345.9 kB / 3.754 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/8.922, allocations: 449.8 kB / 3.754 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/8.922, allocations: 0.698 MB / 3.755 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/8.923, allocations: 496.6 kB / 3.756 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/8.923, allocations: 0 / 3.756 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001761/8.925, allocations: 1.249 MB / 3.757 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/8.925, allocations: 8.938 kB / 3.757 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/8.925, allocations: 4 kB / 3.757 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/8.925, allocations: 8 kB / 3.757 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/8.927, allocations: 344.1 kB / 3.757 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/8.927, allocations: 15.92 kB / 3.757 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/8.928, allocations: 262.7 kB / 3.757 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/8.928, allocations: 51.97 kB / 3.757 GB, free: 117.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002204/8.929, allocations: 178.9 kB / 3.758 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/8.929, allocations: 138.3 kB / 3.758 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/8.931, allocations: 1.327 MB / 3.759 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/8.931, allocations: 8 kB / 3.759 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/8.931, allocations: 0 / 3.759 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/8.931, allocations: 7.969 kB / 3.759 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/8.935, allocations: 2.898 MB / 3.762 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/8.935, allocations: 4 kB / 3.762 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/8.937, allocations: 300 kB / 3.762 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/8.937, allocations: 8 kB / 3.762 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/8.937, allocations: 39.97 kB / 3.762 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/8.937, allocations: 4 kB / 3.762 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/8.937, allocations: 15.95 kB / 3.762 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/8.939, allocations: 2.301 MB / 3.764 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000634/8.94, allocations: 355.1 kB / 3.765 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/8.94, allocations: 27.98 kB / 3.765 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/8.942, allocations: 171.8 kB / 3.765 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/8.942, allocations: 76.58 kB / 3.765 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/8.942, allocations: 35.98 kB / 3.765 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009255/8.943, allocations: 0.8335 MB / 3.766 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.943, allocations: 0 / 3.766 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001708/8.945, allocations: 0.5152 MB / 3.766 GB, free: 108.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003178/8.948, allocations: 1.983 MB / 3.768 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001812/8.95, allocations: 1.096 MB / 3.769 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/8.95, allocations: 0 / 3.769 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/8.95, allocations: 0.5835 MB / 3.77 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/8.953, allocations: 0.6079 MB / 3.771 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/8.958, allocations: 2.341 MB / 3.773 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/8.958, allocations: 1.227 MB / 3.774 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001844/8.96, allocations: 373.9 kB / 3.774 GB, free: 99.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/8.961, allocations: 115.4 kB / 3.775 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/8.961, allocations: 0 / 3.775 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of Templates: time 0.05693/9.018, allocations: 47.4 MB / 3.821 GB, free: 52.44 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches