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.529/1.529, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.001185/0.001185, allocations: 172.8 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.779/1.779, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008744/0.0008746, allocations: 90.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.526e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.401/6.634, allocations: 2.434 GB / 3.326 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/6.634, allocations: 84.7 kB / 3.326 GB, free: 279.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.668/8.302, allocations: 0.5825 GB / 3.909 GB, free: 20.79 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/8.302, allocations: 4 kB / 3.909 GB, free: 20.79 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001077/8.302, allocations: 35.98 kB / 3.909 GB, free: 20.75 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.00272/8.305, allocations: 1.332 MB / 3.91 GB, free: 19.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/8.305, allocations: 12.03 kB / 3.91 GB, free: 19.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/8.308, allocations: 0.5681 MB / 3.911 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/8.31, allocations: 0.9419 MB / 3.912 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/8.31, allocations: 58 kB / 3.912 GB, free: 17.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/8.31, allocations: 76 kB / 3.912 GB, free: 17.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/8.312, allocations: 0.9005 MB / 3.913 GB, free: 16.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/8.312, allocations: 3.938 kB / 3.913 GB, free: 16.67 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/8.312, allocations: 28 kB / 3.913 GB, free: 16.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/8.312, allocations: 20 kB / 3.913 GB, free: 16.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/8.313, allocations: 0.6297 MB / 3.913 GB, free: 16 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.005454/8.318, allocations: 4.987 MB / 3.918 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/8.319, allocations: 0.58 MB / 3.919 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/8.32, allocations: 307 kB / 3.919 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/8.321, allocations: 1.595 MB / 3.921 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005839/8.321, allocations: 410.8 kB / 3.921 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.747e-06/8.321, allocations: 0 / 3.921 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001415/8.323, allocations: 0.7085 MB / 3.922 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/8.323, allocations: 67.95 kB / 3.922 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/8.324, allocations: 0.9794 MB / 3.923 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/8.324, allocations: 37.7 kB / 3.923 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/8.325, allocations: 0.559 MB / 3.923 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/8.325, allocations: 205.2 kB / 3.923 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/8.325, allocations: 16 kB / 3.923 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/8.325, allocations: 341.9 kB / 3.924 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/8.325, allocations: 258 kB / 3.924 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/8.326, allocations: 0.5903 MB / 3.925 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/8.326, allocations: 320.9 kB / 3.925 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/8.326, allocations: 8 kB / 3.925 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001353/8.328, allocations: 0.9074 MB / 3.926 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/8.328, allocations: 8 kB / 3.926 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/8.328, allocations: 8 kB / 3.926 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/8.328, allocations: 15.95 kB / 3.926 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/8.329, allocations: 284.1 kB / 3.926 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/8.329, allocations: 15.98 kB / 3.926 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/8.33, allocations: 214.8 kB / 3.926 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/8.33, allocations: 51.97 kB / 3.926 GB, free: 1.703 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.0002027/8.331, allocations: 166.9 kB / 3.926 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/8.331, allocations: 126.5 kB / 3.927 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/8.333, allocations: 1.047 MB / 3.928 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/8.333, allocations: 15.94 kB / 3.928 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/8.333, allocations: 4 kB / 3.928 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/8.333, allocations: 3.984 kB / 3.928 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6717/9.005, allocations: 2.11 MB / 3.93 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/9.005, allocations: 3.5 kB / 3.93 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/9.006, allocations: 201.3 kB / 3.93 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/9.006, allocations: 4.656 kB / 3.93 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/9.006, allocations: 32 kB / 3.93 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/9.006, allocations: 4.953 kB / 3.93 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/9.006, allocations: 4.938 kB / 3.93 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/9.01, allocations: 1.563 MB / 3.931 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/9.011, allocations: 310.2 kB / 3.932 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/9.011, allocations: 19.17 kB / 3.932 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/9.012, allocations: 129 kB / 3.932 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/9.012, allocations: 59.92 kB / 3.932 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/9.013, allocations: 31.22 kB / 3.932 GB, free: 183 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001826/9.014, allocations: 0.7592 MB / 3.933 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/9.014, allocations: 0 / 3.933 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002248/9.017, allocations: 389.1 kB / 3.933 GB, free: 182.9 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.002194/9.019, allocations: 0.767 MB / 3.934 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001646/9.02, allocations: 0.7679 MB / 3.935 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/9.02, allocations: 3.469 kB / 3.935 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000731/9.021, allocations: 417.5 kB / 3.935 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/9.023, allocations: 450.3 kB / 3.935 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/9.028, allocations: 1.814 MB / 3.937 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/9.03, allocations: 1.142 MB / 3.938 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001499/9.031, allocations: 259.8 kB / 3.939 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/9.032, allocations: 109.1 kB / 3.939 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of SimCode: time 9.02e-07/9.032, allocations: 2.656 kB / 3.939 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.05421/9.086, allocations: 21.86 MB / 3.96 GB, free: 181.1 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