Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.652/2.652, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 182.8 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 223.2 MB / 0.7949 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 109.9 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 14.5 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3161, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.238/4.554, allocations: 1.874 GB / 3.097 GB, free: 113.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/4.554, allocations: 93.47 kB / 3.097 GB, free: 113.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.814/7.369, allocations: 0.6869 GB / 3.784 GB, free: 292.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/7.369, allocations: 0 / 3.784 GB, free: 292.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003015/7.369, allocations: 43.88 kB / 3.784 GB, free: 292.2 MB / 1.167 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.01004/7.379, allocations: 2.065 MB / 3.786 GB, free: 291.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/7.379, allocations: 15.84 kB / 3.786 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/7.384, allocations: 0.8747 MB / 3.787 GB, free: 291.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/7.389, allocations: 1.144 MB / 3.788 GB, free: 291 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/7.389, allocations: 66.23 kB / 3.788 GB, free: 291 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/7.39, allocations: 92.66 kB / 3.788 GB, free: 291 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/7.394, allocations: 1.556 MB / 3.789 GB, free: 290.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/7.394, allocations: 3.812 kB / 3.789 GB, free: 290.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/7.394, allocations: 35.88 kB / 3.789 GB, free: 290.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/7.394, allocations: 40.64 kB / 3.79 GB, free: 290.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/7.398, allocations: 1.666 MB / 3.791 GB, free: 290.9 MB / 1.167 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.01003/7.408, allocations: 5.039 MB / 3.796 GB, free: 289.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/7.413, allocations: 1.645 MB / 3.798 GB, free: 289 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/7.414, allocations: 0.9381 MB / 3.799 GB, free: 288.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00238/7.416, allocations: 0.9783 MB / 3.8 GB, free: 288 MB / 1.167 GB Notification: Performance of pre-optimization done (n=95): time 4.398e-06/7.416, allocations: 3.812 kB / 3.8 GB, free: 288 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.007751/7.424, allocations: 2.582 MB / 3.802 GB, free: 287.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/7.424, allocations: 65.69 kB / 3.802 GB, free: 287.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/7.426, allocations: 1.063 MB / 3.803 GB, free: 287.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/7.426, allocations: 52.8 kB / 3.803 GB, free: 287.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/7.427, allocations: 0.5457 MB / 3.804 GB, free: 287.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/7.427, allocations: 329.7 kB / 3.804 GB, free: 287.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/7.427, allocations: 17.56 kB / 3.804 GB, free: 287.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001055/7.427, allocations: 340.1 kB / 3.804 GB, free: 287 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/7.429, allocations: 0.7536 MB / 3.805 GB, free: 287 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/7.432, allocations: 0.9816 MB / 3.806 GB, free: 286.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/7.434, allocations: 0.7699 MB / 3.807 GB, free: 286.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/7.434, allocations: 0 / 3.807 GB, free: 286.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005096/7.439, allocations: 1.875 MB / 3.809 GB, free: 286.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/7.439, allocations: 10.66 kB / 3.809 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/7.439, allocations: 3.625 kB / 3.809 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/7.439, allocations: 15.48 kB / 3.809 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/7.441, allocations: 353.4 kB / 3.809 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/7.441, allocations: 10.12 kB / 3.809 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/7.443, allocations: 260.4 kB / 3.809 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/7.443, allocations: 54.02 kB / 3.809 GB, free: 286.6 MB / 1.167 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.0007987/7.444, allocations: 335.5 kB / 3.81 GB, free: 286.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/7.445, allocations: 145.6 kB / 3.81 GB, free: 286.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/7.45, allocations: 1.955 MB / 3.812 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/7.45, allocations: 18.61 kB / 3.812 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/7.45, allocations: 0 / 3.812 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/7.45, allocations: 7.547 kB / 3.812 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009779/7.46, allocations: 3.594 MB / 3.815 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/7.46, allocations: 3.875 kB / 3.815 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/7.462, allocations: 307.1 kB / 3.816 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.874e-05/7.462, allocations: 14 kB / 3.816 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/7.462, allocations: 38.34 kB / 3.816 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/7.462, allocations: 7.312 kB / 3.816 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/7.462, allocations: 7.281 kB / 3.816 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008108/7.47, allocations: 3.265 MB / 3.819 GB, free: 285.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/7.471, allocations: 378.9 kB / 3.819 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/7.471, allocations: 33.52 kB / 3.819 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/7.473, allocations: 176.1 kB / 3.819 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/7.473, allocations: 73.47 kB / 3.819 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/7.473, allocations: 51.86 kB / 3.819 GB, free: 285 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001364/7.475, allocations: 0.8328 MB / 3.82 GB, free: 284.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/7.475, allocations: 0 / 3.82 GB, free: 284.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002222/7.477, allocations: 0.5222 MB / 3.821 GB, free: 284.8 MB / 1.167 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.003673/7.481, allocations: 2.025 MB / 3.823 GB, free: 284.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004785/7.486, allocations: 1.726 MB / 3.824 GB, free: 284.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/7.486, allocations: 3.906 kB / 3.824 GB, free: 284.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/7.488, allocations: 0.9009 MB / 3.825 GB, free: 284 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/7.491, allocations: 0.5801 MB / 3.826 GB, free: 283.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/7.51, allocations: 4.194 MB / 3.83 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/7.511, allocations: 1.218 MB / 3.831 GB, free: 281.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002569/7.513, allocations: 401.2 kB / 3.832 GB, free: 281.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/7.514, allocations: 128.2 kB / 3.832 GB, free: 281.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/7.514, allocations: 0 / 3.832 GB, free: 281.3 MB / 1.167 GB Notification: Performance of Templates: time 0.06283/7.577, allocations: 43.23 MB / 3.874 GB, free: 240.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches