Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_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_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.841/2.841, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001199/0.001199, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.889/1.889, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.00129/0.001291, allocations: 89.78 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.945e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3052, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.563/5.868, allocations: 2.158 GB / 3.371 GB, free: 146.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/5.868, allocations: 90.75 kB / 3.371 GB, free: 146.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.791/8.66, allocations: 0.6001 GB / 3.971 GB, free: 292.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.412e-06/8.66, allocations: 0 / 3.971 GB, free: 292.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001187/8.66, allocations: 36.41 kB / 3.971 GB, free: 292.3 MB / 1.151 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.003281/8.663, allocations: 1.348 MB / 3.972 GB, free: 291.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/8.663, allocations: 12.69 kB / 3.972 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/8.666, allocations: 0.576 MB / 3.973 GB, free: 291.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/8.669, allocations: 0.9146 MB / 3.974 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/8.669, allocations: 60.31 kB / 3.974 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/8.669, allocations: 79.08 kB / 3.974 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/8.671, allocations: 0.9124 MB / 3.975 GB, free: 291.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/8.671, allocations: 4 kB / 3.975 GB, free: 291.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/8.671, allocations: 34.08 kB / 3.975 GB, free: 291.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/8.671, allocations: 33.61 kB / 3.975 GB, free: 291.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/8.673, allocations: 0.6335 MB / 3.975 GB, free: 291.2 MB / 1.151 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.006179/8.679, allocations: 4.953 MB / 3.98 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/8.68, allocations: 0.5751 MB / 3.981 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/8.681, allocations: 307.5 kB / 3.981 GB, free: 288.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/8.682, allocations: 1.599 MB / 3.983 GB, free: 286.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007279/8.683, allocations: 402.6 kB / 3.983 GB, free: 286.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 4.669e-06/8.683, allocations: 1 kB / 3.983 GB, free: 286.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.001914/8.684, allocations: 0.7149 MB / 3.984 GB, free: 286.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/8.685, allocations: 61.56 kB / 3.984 GB, free: 286.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/8.686, allocations: 0.9694 MB / 3.985 GB, free: 286 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/8.686, allocations: 42.89 kB / 3.985 GB, free: 286 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/8.687, allocations: 0.5434 MB / 3.985 GB, free: 285.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/8.687, allocations: 209.4 kB / 3.985 GB, free: 285.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/8.687, allocations: 18.16 kB / 3.985 GB, free: 285.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001149/8.687, allocations: 337.2 kB / 3.986 GB, free: 285.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/8.688, allocations: 263.3 kB / 3.986 GB, free: 285.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/8.689, allocations: 0.5653 MB / 3.987 GB, free: 285.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/8.689, allocations: 310 kB / 3.987 GB, free: 285 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/8.689, allocations: 2.625 kB / 3.987 GB, free: 285 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001812/8.691, allocations: 0.9169 MB / 3.988 GB, free: 284.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/8.691, allocations: 8.281 kB / 3.988 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/8.691, allocations: 7.969 kB / 3.988 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/8.691, allocations: 21.03 kB / 3.988 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/8.693, allocations: 275.1 kB / 3.988 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.907e-05/8.693, allocations: 21.97 kB / 3.988 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/8.694, allocations: 210.8 kB / 3.988 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/8.694, allocations: 54.75 kB / 3.988 GB, free: 284.9 MB / 1.151 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.0001915/8.694, allocations: 165.3 kB / 3.988 GB, free: 284.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/8.694, allocations: 114.9 kB / 3.989 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/8.697, allocations: 1.056 MB / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/8.697, allocations: 16.16 kB / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/8.697, allocations: 0 / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/8.697, allocations: 9.141 kB / 3.99 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/8.701, allocations: 2.115 MB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/8.701, allocations: 3.375 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/8.702, allocations: 203.1 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/8.702, allocations: 5.406 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/8.702, allocations: 30.75 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/8.702, allocations: 3.906 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/8.702, allocations: 2.438 kB / 3.992 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/8.704, allocations: 1.564 MB / 3.993 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006556/8.705, allocations: 311.9 kB / 3.994 GB, free: 283.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/8.705, allocations: 23.34 kB / 3.994 GB, free: 283.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/8.706, allocations: 123.4 kB / 3.994 GB, free: 283.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/8.706, allocations: 58.23 kB / 3.994 GB, free: 283.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/8.706, allocations: 30.77 kB / 3.994 GB, free: 283.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001027/8.707, allocations: 0.7617 MB / 3.995 GB, free: 283.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.707, allocations: 0 / 3.995 GB, free: 283.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001406/8.709, allocations: 387.9 kB / 3.995 GB, free: 283.6 MB / 1.151 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.001637/8.71, allocations: 0.782 MB / 3.996 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001537/8.712, allocations: 0.7641 MB / 3.997 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/8.712, allocations: 4.438 kB / 3.997 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006745/8.713, allocations: 425.3 kB / 3.997 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/8.715, allocations: 413.4 kB / 3.997 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/8.719, allocations: 1.806 MB / 3.999 GB, free: 283 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/8.719, allocations: 1.135 MB / 4 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001259/8.721, allocations: 260.3 kB / 4.001 GB, free: 282.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/8.721, allocations: 108.3 kB / 4.001 GB, free: 282.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.523e-06/8.721, allocations: 5.75 kB / 4.001 GB, free: 282.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04386/8.765, allocations: 21.35 MB / 4.021 GB, free: 281.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches