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.595/1.595, allocations: 249.5 MB / 257 MB, free: 6.977 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.001243/0.001243, allocations: 187.2 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008292/0.0008291, allocations: 89.72 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.763e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.702/6.961, allocations: 2.435 GB / 3.32 GB, free: 313.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/6.961, allocations: 92.81 kB / 3.32 GB, free: 313.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.631/8.592, allocations: 0.5792 GB / 3.899 GB, free: 65.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.694e-06/8.592, allocations: 3.938 kB / 3.899 GB, free: 65.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.739e-05/8.592, allocations: 39.83 kB / 3.899 GB, free: 65.73 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002474/8.594, allocations: 1.339 MB / 3.9 GB, free: 64.35 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/8.594, allocations: 8.031 kB / 3.9 GB, free: 64.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/8.597, allocations: 0.572 MB / 3.901 GB, free: 63.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/8.599, allocations: 0.9294 MB / 3.902 GB, free: 62.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/8.599, allocations: 24 kB / 3.902 GB, free: 62.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/8.599, allocations: 55.94 kB / 3.902 GB, free: 62.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009551/8.6, allocations: 0.5663 MB / 3.903 GB, free: 62.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/8.601, allocations: 0.7991 MB / 3.903 GB, free: 61.28 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/8.601, allocations: 7.938 kB / 3.903 GB, free: 61.27 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/8.601, allocations: 0 / 3.903 GB, free: 61.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/8.601, allocations: 20 kB / 3.903 GB, free: 61.25 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.004714/8.606, allocations: 4.827 MB / 3.908 GB, free: 56.19 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/8.607, allocations: 0.552 MB / 3.909 GB, free: 55.63 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/8.607, allocations: 290.5 kB / 3.909 GB, free: 55.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/8.608, allocations: 1.587 MB / 3.91 GB, free: 53.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/8.609, allocations: 393.8 kB / 3.911 GB, free: 53.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.737e-06/8.609, allocations: 0 / 3.911 GB, free: 53.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.00156/8.611, allocations: 0.7202 MB / 3.912 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/8.611, allocations: 63.92 kB / 3.912 GB, free: 52.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/8.612, allocations: 0.8467 MB / 3.912 GB, free: 51.35 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/8.612, allocations: 29.7 kB / 3.912 GB, free: 51.31 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/8.612, allocations: 0.5503 MB / 3.913 GB, free: 50.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/8.612, allocations: 205 kB / 3.913 GB, free: 50.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/8.612, allocations: 3.938 kB / 3.913 GB, free: 50.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/8.612, allocations: 341.9 kB / 3.914 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/8.613, allocations: 242.6 kB / 3.914 GB, free: 49.97 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/8.613, allocations: 0.5713 MB / 3.914 GB, free: 49.26 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/8.614, allocations: 345.9 kB / 3.915 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/8.614, allocations: 3.984 kB / 3.915 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001532/8.616, allocations: 0.8767 MB / 3.916 GB, free: 48.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/8.616, allocations: 12.19 kB / 3.916 GB, free: 48.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/8.616, allocations: 8 kB / 3.916 GB, free: 48.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/8.616, allocations: 12 kB / 3.916 GB, free: 48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/8.617, allocations: 282.7 kB / 3.916 GB, free: 47.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/8.617, allocations: 15.95 kB / 3.916 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/8.618, allocations: 179.1 kB / 3.916 GB, free: 47.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/8.618, allocations: 55.97 kB / 3.916 GB, free: 47.48 MB / 0.8698 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 () * 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.0001812/8.618, allocations: 142.9 kB / 3.916 GB, free: 47.34 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/8.618, allocations: 106.7 kB / 3.916 GB, free: 47.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/8.62, allocations: 1.018 MB / 3.917 GB, free: 46.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/8.62, allocations: 15.98 kB / 3.917 GB, free: 46.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/8.62, allocations: 0 / 3.917 GB, free: 46.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/8.62, allocations: 7.938 kB / 3.917 GB, free: 46.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/8.624, allocations: 1.998 MB / 3.919 GB, free: 44.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/8.624, allocations: 4 kB / 3.919 GB, free: 44.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/8.624, allocations: 195.9 kB / 3.919 GB, free: 43.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/8.624, allocations: 8 kB / 3.919 GB, free: 43.94 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/8.625, allocations: 19.97 kB / 3.919 GB, free: 43.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/8.625, allocations: 12 kB / 3.919 GB, free: 43.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/8.625, allocations: 3.938 kB / 3.919 GB, free: 43.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/8.627, allocations: 1.52 MB / 3.921 GB, free: 42.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/8.627, allocations: 303.3 kB / 3.921 GB, free: 42 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/8.627, allocations: 8 kB / 3.921 GB, free: 41.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/8.628, allocations: 119.9 kB / 3.921 GB, free: 41.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/8.628, allocations: 60.42 kB / 3.921 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/8.628, allocations: 31.98 kB / 3.921 GB, free: 41.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006607/8.629, allocations: 0.6284 MB / 3.922 GB, free: 41.15 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/8.629, allocations: 0 / 3.922 GB, free: 41.15 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001338/8.63, allocations: 383.3 kB / 3.922 GB, free: 40.77 MB / 0.8698 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) * 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.001574/8.632, allocations: 0.7428 MB / 3.923 GB, free: 40.13 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001048/8.633, allocations: 0.7233 MB / 3.924 GB, free: 39.41 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/8.633, allocations: 0.8125 kB / 3.924 GB, free: 39.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004811/8.633, allocations: 410.1 kB / 3.924 GB, free: 39.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/8.635, allocations: 341.6 kB / 3.925 GB, free: 38.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/8.638, allocations: 1.762 MB / 3.926 GB, free: 36.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/8.639, allocations: 1.14 MB / 3.927 GB, free: 35.71 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008957/8.639, allocations: 246.3 kB / 3.928 GB, free: 35.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/8.64, allocations: 107.4 kB / 3.928 GB, free: 35.36 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/8.64, allocations: 0 / 3.928 GB, free: 35.36 MB / 0.8698 GB Notification: Performance of Templates: time 0.02634/8.666, allocations: 17.56 MB / 3.945 GB, free: 17.96 MB / 0.8698 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