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.312/1.312, 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.001056/0.001056, allocations: 191.1 kB / 326.5 MB, free: 2.227 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.499/1.499, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008407/0.0008407, allocations: 95.98 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1869, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.664/4.851, allocations: 2.186 GB / 3.086 GB, free: 247 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/4.851, allocations: 86.28 kB / 3.086 GB, free: 247 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.684/6.535, allocations: 0.659 GB / 3.745 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.373e-06/6.535, allocations: 3.938 kB / 3.745 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001125/6.535, allocations: 39.98 kB / 3.745 GB, free: 5.004 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006137/6.541, allocations: 1.949 MB / 3.747 GB, free: 3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/6.541, allocations: 12.03 kB / 3.747 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/6.546, allocations: 0.8838 MB / 3.748 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/6.55, allocations: 1.118 MB / 3.749 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/6.55, allocations: 70 kB / 3.749 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/6.55, allocations: 95.98 kB / 3.749 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5521/7.102, allocations: 1.533 MB / 3.751 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/7.102, allocations: 4.75 kB / 3.751 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/7.102, allocations: 41.86 kB / 3.751 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.586e-05/7.102, allocations: 48.33 kB / 3.751 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004463/7.107, allocations: 1.786 MB / 3.753 GB, free: 172.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.008267/7.115, allocations: 4.801 MB / 3.757 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/7.119, allocations: 1.572 MB / 3.759 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/7.121, allocations: 0.942 MB / 3.76 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002683/7.123, allocations: 0.9017 MB / 3.761 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=95): time 3.216e-06/7.123, allocations: 0 / 3.761 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.008342/7.132, allocations: 2.432 MB / 3.763 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/7.132, allocations: 61.31 kB / 3.763 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/7.134, allocations: 1.069 MB / 3.764 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/7.134, allocations: 48.33 kB / 3.764 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/7.134, allocations: 0.5532 MB / 3.765 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/7.135, allocations: 323.8 kB / 3.765 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/7.135, allocations: 20.47 kB / 3.765 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001192/7.135, allocations: 345.3 kB / 3.765 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/7.137, allocations: 0.6932 MB / 3.766 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/7.139, allocations: 0.957 MB / 3.767 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/7.141, allocations: 0.7339 MB / 3.768 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/7.141, allocations: 2.406 kB / 3.768 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004504/7.146, allocations: 1.771 MB / 3.769 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/7.146, allocations: 10.38 kB / 3.769 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/7.146, allocations: 5.906 kB / 3.769 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/7.146, allocations: 14.39 kB / 3.77 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/7.148, allocations: 334.6 kB / 3.77 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/7.148, allocations: 12.56 kB / 3.77 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/7.15, allocations: 262.7 kB / 3.77 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/7.15, allocations: 53.17 kB / 3.77 GB, free: 168.7 MB / 0.8855 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 () * Number of clocked 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.0005468/7.15, allocations: 337.2 kB / 3.77 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/7.15, allocations: 140.1 kB / 3.771 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/7.155, allocations: 1.838 MB / 3.772 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/7.155, allocations: 13.75 kB / 3.772 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/7.155, allocations: 2.156 kB / 3.772 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/7.155, allocations: 7.594 kB / 3.772 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/7.162, allocations: 3.42 MB / 3.776 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/7.162, allocations: 6.938 kB / 3.776 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/7.163, allocations: 297.8 kB / 3.776 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/7.163, allocations: 7.594 kB / 3.776 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/7.164, allocations: 34.39 kB / 3.776 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/7.164, allocations: 17.67 kB / 3.776 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/7.164, allocations: 3.875 kB / 3.776 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006217/7.17, allocations: 3.082 MB / 3.779 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/7.17, allocations: 356.8 kB / 3.779 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/7.171, allocations: 34.77 kB / 3.779 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/7.172, allocations: 170.4 kB / 3.78 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/7.172, allocations: 77.09 kB / 3.78 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/7.172, allocations: 38.61 kB / 3.78 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008785/7.173, allocations: 0.8419 MB / 3.781 GB, free: 167 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/7.173, allocations: 0 / 3.781 GB, free: 167 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00162/7.175, allocations: 0.5149 MB / 3.781 GB, free: 167 MB / 0.8855 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) * Number of clocked states: 0 () * 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.003177/7.178, allocations: 2.024 MB / 3.783 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003932/7.182, allocations: 1.612 MB / 3.785 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/7.182, allocations: 3.938 kB / 3.785 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/7.184, allocations: 0.8374 MB / 3.785 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/7.186, allocations: 0.5954 MB / 3.786 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/7.192, allocations: 3.44 MB / 3.789 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/7.192, allocations: 1.221 MB / 3.791 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001418/7.194, allocations: 376.4 kB / 3.791 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/7.194, allocations: 121.2 kB / 3.791 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/7.194, allocations: 3.844 kB / 3.791 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.05799/7.252, allocations: 42.98 MB / 3.833 GB, free: 163.3 MB / 0.8855 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