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.141/2.141, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001047/0.001047, allocations: 184.6 kB / 487.4 MB, free: 5.035 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.406/1.406, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009581, allocations: 103.6 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.611e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.518/5.793, allocations: 2.157 GB / 3.363 GB, free: 142.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/5.793, allocations: 84.55 kB / 3.364 GB, free: 142.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.55/8.343, allocations: 0.5968 GB / 3.96 GB, free: 295.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.274e-06/8.344, allocations: 2.906 kB / 3.96 GB, free: 295.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002393/8.344, allocations: 39.59 kB / 3.96 GB, free: 295.9 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.004253/8.348, allocations: 1.346 MB / 3.962 GB, free: 295.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/8.348, allocations: 8.719 kB / 3.962 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/8.352, allocations: 0.5752 MB / 3.962 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/8.355, allocations: 0.9143 MB / 3.963 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/8.355, allocations: 22.89 kB / 3.963 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/8.355, allocations: 49 kB / 3.963 GB, free: 295.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001214/8.357, allocations: 0.5599 MB / 3.964 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/8.358, allocations: 0.8226 MB / 3.965 GB, free: 294.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/8.358, allocations: 1.594 kB / 3.965 GB, free: 294.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/8.358, allocations: 6.281 kB / 3.965 GB, free: 294.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/8.358, allocations: 37.08 kB / 3.965 GB, free: 294.9 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.005932/8.364, allocations: 4.81 MB / 3.969 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/8.365, allocations: 0.5491 MB / 3.97 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/8.366, allocations: 288.8 kB / 3.97 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/8.367, allocations: 1.595 MB / 3.972 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/8.367, allocations: 384.9 kB / 3.972 GB, free: 290 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.967e-06/8.367, allocations: 0 / 3.972 GB, free: 290 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.001999/8.369, allocations: 0.7238 MB / 3.973 GB, free: 289.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/8.369, allocations: 60.31 kB / 3.973 GB, free: 289.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/8.371, allocations: 0.8342 MB / 3.974 GB, free: 289.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.12e-05/8.371, allocations: 31.61 kB / 3.974 GB, free: 289.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/8.372, allocations: 0.5567 MB / 3.974 GB, free: 289.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/8.372, allocations: 201.1 kB / 3.974 GB, free: 289.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/8.372, allocations: 0 / 3.974 GB, free: 289.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/8.372, allocations: 339.3 kB / 3.975 GB, free: 289.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/8.372, allocations: 247.7 kB / 3.975 GB, free: 289.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/8.373, allocations: 0.5459 MB / 3.975 GB, free: 288.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009512/8.374, allocations: 345.2 kB / 3.976 GB, free: 288.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/8.374, allocations: 3.219 kB / 3.976 GB, free: 288.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002017/8.376, allocations: 0.8785 MB / 3.977 GB, free: 288.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/8.376, allocations: 8.125 kB / 3.977 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/8.376, allocations: 6.938 kB / 3.977 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.115e-05/8.376, allocations: 12.59 kB / 3.977 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/8.377, allocations: 277.6 kB / 3.977 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.5e-05/8.378, allocations: 14.88 kB / 3.977 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/8.379, allocations: 184.8 kB / 3.977 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/8.379, allocations: 54.27 kB / 3.977 GB, free: 288.6 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.0002365/8.379, allocations: 136.1 kB / 3.977 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/8.38, allocations: 109.8 kB / 3.977 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/8.382, allocations: 1.015 MB / 3.978 GB, free: 288.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/8.382, allocations: 15.47 kB / 3.978 GB, free: 288.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/8.382, allocations: 0 / 3.978 GB, free: 288.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/8.382, allocations: 3.797 kB / 3.978 GB, free: 288.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/8.386, allocations: 2.005 MB / 3.98 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/8.386, allocations: 3.938 kB / 3.98 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/8.387, allocations: 200 kB / 3.981 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/8.387, allocations: 5.781 kB / 3.981 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/8.387, allocations: 21.88 kB / 3.981 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/8.387, allocations: 9.656 kB / 3.981 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/8.387, allocations: 6.688 kB / 3.981 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/8.389, allocations: 1.522 MB / 3.982 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/8.39, allocations: 298.4 kB / 3.982 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/8.39, allocations: 7.531 kB / 3.982 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/8.391, allocations: 117.7 kB / 3.983 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/8.391, allocations: 56.25 kB / 3.983 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/8.391, allocations: 35.25 kB / 3.983 GB, free: 287.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000805/8.392, allocations: 0.626 MB / 3.983 GB, free: 287.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/8.392, allocations: 0 / 3.983 GB, free: 287.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001574/8.394, allocations: 369.9 kB / 3.984 GB, free: 287.4 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.001808/8.395, allocations: 0.7558 MB / 3.984 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001424/8.397, allocations: 0.7198 MB / 3.985 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/8.397, allocations: 0 / 3.985 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006768/8.398, allocations: 410 kB / 3.985 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/8.4, allocations: 337.6 kB / 3.986 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/8.404, allocations: 1.757 MB / 3.987 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/8.405, allocations: 1.138 MB / 3.989 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001138/8.406, allocations: 235 kB / 3.989 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/8.406, allocations: 107.4 kB / 3.989 GB, free: 286 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/8.406, allocations: 0 / 3.989 GB, free: 286 MB / 1.151 GB Notification: Performance of Templates: time 0.03943/8.446, allocations: 17.1 MB / 4.006 GB, free: 285.7 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