Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00112/0.00112, allocations: 189.6 kB / 326.5 MB, free: 2.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.587/1.587, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009051/0.0009048, allocations: 98.97 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003407, allocations: 11.42 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.461/4.678, allocations: 2.186 GB / 3.086 GB, free: 34.17 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/4.679, allocations: 87.95 kB / 3.086 GB, free: 34.09 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.273/7.951, allocations: 0.9772 GB / 4.064 GB, free: 72.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.305e-06/7.951, allocations: 0 / 4.064 GB, free: 72.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002114/7.952, allocations: 47.42 kB / 4.064 GB, free: 72.48 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.007309/7.959, allocations: 1.921 MB / 4.065 GB, free: 70.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/7.959, allocations: 8.031 kB / 4.065 GB, free: 70.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/7.963, allocations: 0.7083 MB / 4.066 GB, free: 69.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/7.966, allocations: 1.02 MB / 4.067 GB, free: 68.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/7.966, allocations: 73.98 kB / 4.067 GB, free: 68.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/7.966, allocations: 88 kB / 4.067 GB, free: 68.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/7.969, allocations: 1.447 MB / 4.069 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/7.969, allocations: 0 / 4.069 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/7.969, allocations: 43.94 kB / 4.069 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/7.969, allocations: 45.98 kB / 4.069 GB, free: 66.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/7.972, allocations: 1.506 MB / 4.07 GB, free: 65.43 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.006656/7.979, allocations: 5.551 MB / 4.076 GB, free: 59.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/7.982, allocations: 1.332 MB / 4.077 GB, free: 58.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/7.983, allocations: 0.5773 MB / 4.078 GB, free: 57.58 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/7.985, allocations: 0.7147 MB / 4.078 GB, free: 56.85 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 3.938e-06/7.985, allocations: 0 / 4.078 GB, free: 56.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.005007/7.99, allocations: 1.921 MB / 4.08 GB, free: 54.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/7.99, allocations: 60.06 kB / 4.08 GB, free: 54.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/7.991, allocations: 1.1 MB / 4.081 GB, free: 53.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.352e-05/7.991, allocations: 53.7 kB / 4.081 GB, free: 53.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/7.992, allocations: 0.5871 MB / 4.082 GB, free: 53.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/7.992, allocations: 276.1 kB / 4.082 GB, free: 52.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/7.992, allocations: 16 kB / 4.082 GB, free: 52.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/7.992, allocations: 345.9 kB / 4.082 GB, free: 52.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/7.993, allocations: 0.5523 MB / 4.083 GB, free: 51.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/7.995, allocations: 0.8893 MB / 4.084 GB, free: 50.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/7.996, allocations: 0.6144 MB / 4.084 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/7.996, allocations: 4 kB / 4.084 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003163/7.999, allocations: 1.526 MB / 4.086 GB, free: 48.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/7.999, allocations: 11.94 kB / 4.086 GB, free: 48.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/7.999, allocations: 4 kB / 4.086 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/7.999, allocations: 16 kB / 4.086 GB, free: 48.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/8.001, allocations: 300 kB / 4.086 GB, free: 48.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/8.001, allocations: 15.94 kB / 4.086 GB, free: 48.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/8.002, allocations: 230.7 kB / 4.087 GB, free: 48.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/8.002, allocations: 51.97 kB / 4.087 GB, free: 48.11 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005445/8.003, allocations: 355.5 kB / 4.087 GB, free: 47.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/8.003, allocations: 142.2 kB / 4.087 GB, free: 47.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/8.006, allocations: 1.48 MB / 4.089 GB, free: 46.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/8.006, allocations: 12 kB / 4.089 GB, free: 46.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/8.006, allocations: 0 / 4.089 GB, free: 46.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/8.007, allocations: 3.984 kB / 4.089 GB, free: 46.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/8.012, allocations: 2.94 MB / 4.091 GB, free: 43.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/8.012, allocations: 4 kB / 4.091 GB, free: 43.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/8.013, allocations: 240.2 kB / 4.092 GB, free: 42.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/8.013, allocations: 11.94 kB / 4.092 GB, free: 42.81 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/8.013, allocations: 31.97 kB / 4.092 GB, free: 42.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/8.013, allocations: 8 kB / 4.092 GB, free: 42.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/8.013, allocations: 4 kB / 4.092 GB, free: 42.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/8.018, allocations: 2.566 MB / 4.094 GB, free: 40.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006531/8.018, allocations: 335.1 kB / 4.094 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/8.019, allocations: 20 kB / 4.095 GB, free: 39.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/8.02, allocations: 151.7 kB / 4.095 GB, free: 39.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/8.02, allocations: 68.38 kB / 4.095 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/8.02, allocations: 35.97 kB / 4.095 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009068/8.021, allocations: 0.8565 MB / 4.096 GB, free: 38.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/8.021, allocations: 3.938 kB / 4.096 GB, free: 38.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001581/8.022, allocations: 0.4918 MB / 4.096 GB, free: 38.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.002793/8.025, allocations: 2.031 MB / 4.098 GB, free: 36.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003153/8.028, allocations: 1.32 MB / 4.099 GB, free: 34.82 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/8.028, allocations: 4 kB / 4.099 GB, free: 34.82 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/8.03, allocations: 0.6716 MB / 4.1 GB, free: 34.15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/8.032, allocations: 0.571 MB / 4.101 GB, free: 33.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/8.037, allocations: 2.994 MB / 4.103 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/8.037, allocations: 1.207 MB / 4.105 GB, free: 29.26 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001374/8.039, allocations: 353.8 kB / 4.105 GB, free: 28.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/8.039, allocations: 119.4 kB / 4.105 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/8.039, allocations: 0 / 4.105 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of Templates: time 0.4923/8.531, allocations: 41.56 MB / 4.146 GB, free: 180.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches