Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.168/2.168, 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.0009772/0.0009773, allocations: 183.4 kB / 487.4 MB, free: 5.055 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.468/1.468, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.001001/0.001002, allocations: 103 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.014e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 142.3 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.503/4.785, allocations: 1.873 GB / 3.079 GB, free: 7.762 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/4.785, allocations: 89.73 kB / 3.079 GB, free: 7.676 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.157/8.942, allocations: 1.007 GB / 4.086 GB, free: 262.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/8.942, allocations: 3.625 kB / 4.086 GB, free: 262.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001992/8.942, allocations: 46.91 kB / 4.086 GB, free: 262.8 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.007721/8.95, allocations: 1.825 MB / 4.088 GB, free: 262.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/8.95, allocations: 7.062 kB / 4.088 GB, free: 262.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004185/8.954, allocations: 0.692 MB / 4.088 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/8.957, allocations: 1.052 MB / 4.089 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/8.958, allocations: 28.78 kB / 4.089 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/8.958, allocations: 63.75 kB / 4.089 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001627/8.96, allocations: 0.828 MB / 4.09 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/8.961, allocations: 1.158 MB / 4.091 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/8.962, allocations: 3.562 kB / 4.091 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/8.962, allocations: 3.594 kB / 4.091 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/8.962, allocations: 45.58 kB / 4.091 GB, free: 261.4 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.00792/8.97, allocations: 5.579 MB / 4.097 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/8.971, allocations: 0.8933 MB / 4.098 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/8.972, allocations: 485.5 kB / 4.098 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000806/8.972, allocations: 0.5803 MB / 4.099 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008322/8.973, allocations: 0.5779 MB / 4.099 GB, free: 257.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 3.777e-06/8.973, allocations: 0 / 4.099 GB, free: 257.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.002355/8.976, allocations: 1.059 MB / 4.1 GB, free: 257.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/8.976, allocations: 69.09 kB / 4.1 GB, free: 257.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/8.977, allocations: 0.8497 MB / 4.101 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/8.977, allocations: 31.11 kB / 4.101 GB, free: 257.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/8.978, allocations: 0.5869 MB / 4.102 GB, free: 257.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/8.978, allocations: 267.4 kB / 4.102 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/8.978, allocations: 3.938 kB / 4.102 GB, free: 257.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/8.978, allocations: 342.5 kB / 4.102 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/8.979, allocations: 402.3 kB / 4.103 GB, free: 256.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/8.979, allocations: 0.6971 MB / 4.104 GB, free: 256.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/8.98, allocations: 461.5 kB / 4.104 GB, free: 256.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/8.98, allocations: 0 / 4.104 GB, free: 256.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001829/8.982, allocations: 1.163 MB / 4.105 GB, free: 256.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/8.982, allocations: 7.906 kB / 4.105 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/8.982, allocations: 7.75 kB / 4.105 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/8.982, allocations: 14.31 kB / 4.105 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/8.983, allocations: 315 kB / 4.105 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/8.983, allocations: 20.53 kB / 4.105 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/8.985, allocations: 188.2 kB / 4.106 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/8.985, allocations: 66.8 kB / 4.106 GB, free: 256.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0002351/8.985, allocations: 138.8 kB / 4.106 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/8.986, allocations: 122.6 kB / 4.106 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/8.987, allocations: 1.157 MB / 4.107 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/8.987, allocations: 7.688 kB / 4.107 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/8.987, allocations: 0 / 4.107 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/8.987, allocations: 7 kB / 4.107 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/8.991, allocations: 2.561 MB / 4.11 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/8.992, allocations: 6.906 kB / 4.11 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/8.993, allocations: 259.3 kB / 4.11 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/8.993, allocations: 11.03 kB / 4.11 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/8.993, allocations: 25.38 kB / 4.11 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/8.993, allocations: 11.31 kB / 4.11 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/8.993, allocations: 7.062 kB / 4.11 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/8.995, allocations: 2.086 MB / 4.112 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/8.996, allocations: 326.9 kB / 4.112 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/8.996, allocations: 14.42 kB / 4.112 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/8.998, allocations: 133.5 kB / 4.112 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/8.998, allocations: 64.16 kB / 4.112 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/8.998, allocations: 47.08 kB / 4.113 GB, free: 255 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007862/8.999, allocations: 0.6389 MB / 4.113 GB, free: 254.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/8.999, allocations: 0 / 4.113 GB, free: 254.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001734/9, allocations: 454.2 kB / 4.114 GB, free: 254.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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.003437/9.004, allocations: 2.161 MB / 4.116 GB, free: 254.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001538/9.005, allocations: 0.9969 MB / 4.117 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/9.005, allocations: 0 / 4.117 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006913/9.006, allocations: 0.5164 MB / 4.117 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/9.008, allocations: 416.5 kB / 4.118 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/9.022, allocations: 2.682 MB / 4.12 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/9.023, allocations: 1.206 MB / 4.121 GB, free: 253 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002128/9.026, allocations: 345.8 kB / 4.122 GB, free: 252.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/9.026, allocations: 121.4 kB / 4.122 GB, free: 252.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/9.026, allocations: 0 / 4.122 GB, free: 252.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04074/9.067, allocations: 26.88 MB / 4.148 GB, free: 248.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches