Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,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_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,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_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.0012/0.0012, allocations: 185 kB / 498.1 MB, free: 5.766 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.655/1.655, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.0009687/0.0009686, allocations: 101.5 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004046, allocations: 13.31 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.323, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.188/4.511, allocations: 1.874 GB / 3.097 GB, free: 112.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/4.511, allocations: 87.89 kB / 3.097 GB, free: 112.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.311/8.822, allocations: 1.019 GB / 4.116 GB, free: 286.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.807e-06/8.822, allocations: 1.062 kB / 4.116 GB, free: 286.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002934/8.822, allocations: 44 kB / 4.116 GB, free: 286.5 MB / 1.167 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.01068/8.833, allocations: 2.029 MB / 4.118 GB, free: 286 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/8.833, allocations: 8.906 kB / 4.118 GB, free: 286 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/8.838, allocations: 0.6963 MB / 4.119 GB, free: 285.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/8.843, allocations: 1.054 MB / 4.12 GB, free: 285.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/8.844, allocations: 63.31 kB / 4.12 GB, free: 285.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005239/8.844, allocations: 84.59 kB / 4.12 GB, free: 285.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004397/8.848, allocations: 1.453 MB / 4.121 GB, free: 285.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/8.849, allocations: 1.344 kB / 4.121 GB, free: 285.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/8.849, allocations: 34.78 kB / 4.121 GB, free: 285.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.826e-05/8.849, allocations: 44.06 kB / 4.121 GB, free: 285.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/8.853, allocations: 1.407 MB / 4.123 GB, free: 285.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01049/8.864, allocations: 5.322 MB / 4.128 GB, free: 283 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/8.868, allocations: 1.301 MB / 4.129 GB, free: 283 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/8.869, allocations: 0.9404 MB / 4.13 GB, free: 282.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/8.871, allocations: 0.8061 MB / 4.131 GB, free: 282 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 5.27e-06/8.871, allocations: 0 / 4.131 GB, free: 282 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.006765/8.878, allocations: 2.13 MB / 4.133 GB, free: 281.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/8.878, allocations: 63.94 kB / 4.133 GB, free: 281.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/8.881, allocations: 1.122 MB / 4.134 GB, free: 281.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/8.881, allocations: 45.17 kB / 4.134 GB, free: 281.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/8.881, allocations: 0.5775 MB / 4.135 GB, free: 281.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/8.882, allocations: 284.7 kB / 4.135 GB, free: 281.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/8.882, allocations: 16.84 kB / 4.135 GB, free: 281.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/8.882, allocations: 345.2 kB / 4.135 GB, free: 281 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/8.884, allocations: 0.6081 MB / 4.136 GB, free: 281 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/8.885, allocations: 0.9075 MB / 4.137 GB, free: 280.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/8.887, allocations: 0.6591 MB / 4.137 GB, free: 280.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/8.887, allocations: 3.969 kB / 4.137 GB, free: 280.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004101/8.891, allocations: 1.642 MB / 4.139 GB, free: 280.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/8.891, allocations: 7.312 kB / 4.139 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/8.891, allocations: 10.12 kB / 4.139 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/8.891, allocations: 11.72 kB / 4.139 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/8.893, allocations: 316.2 kB / 4.139 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/8.893, allocations: 19.95 kB / 4.139 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/8.895, allocations: 231.1 kB / 4.14 GB, free: 280.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/8.895, allocations: 58.88 kB / 4.14 GB, free: 280.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 () * Number of clocked 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.0007028/8.896, allocations: 342.4 kB / 4.14 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/8.896, allocations: 143.9 kB / 4.14 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/8.9, allocations: 1.637 MB / 4.142 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/8.9, allocations: 13.06 kB / 4.142 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/8.9, allocations: 0 / 4.142 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/8.9, allocations: 3.938 kB / 4.142 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006235/8.906, allocations: 3.14 MB / 4.145 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/8.906, allocations: 3.938 kB / 4.145 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/8.907, allocations: 254.5 kB / 4.145 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/8.907, allocations: 10.84 kB / 4.145 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.339e-05/8.907, allocations: 29.42 kB / 4.145 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/8.907, allocations: 11.44 kB / 4.145 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/8.908, allocations: 7.406 kB / 4.145 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/8.913, allocations: 2.786 MB / 4.148 GB, free: 279.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/8.914, allocations: 358.8 kB / 4.148 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/8.915, allocations: 25.08 kB / 4.148 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/8.916, allocations: 137.4 kB / 4.148 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/8.916, allocations: 66.92 kB / 4.148 GB, free: 279 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/8.916, allocations: 39.66 kB / 4.148 GB, free: 279 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001144/8.917, allocations: 0.875 MB / 4.149 GB, free: 278.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.917, allocations: 0 / 4.149 GB, free: 278.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001954/8.919, allocations: 0.5013 MB / 4.15 GB, free: 278.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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.003398/8.923, allocations: 2.032 MB / 4.152 GB, free: 278.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003721/8.926, allocations: 1.44 MB / 4.153 GB, free: 278.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/8.926, allocations: 0 / 4.153 GB, free: 278.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/8.928, allocations: 0.7269 MB / 4.154 GB, free: 278.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/8.931, allocations: 0.5807 MB / 4.154 GB, free: 278.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/8.936, allocations: 3.057 MB / 4.157 GB, free: 277.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/8.937, allocations: 1.202 MB / 4.158 GB, free: 276.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00161/8.938, allocations: 384.6 kB / 4.159 GB, free: 276.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/8.939, allocations: 125.5 kB / 4.159 GB, free: 276.4 MB / 1.167 GB Notification: Performance of SimCode: time 7.91e-07/8.939, allocations: 2.875 kB / 4.159 GB, free: 276.4 MB / 1.167 GB Notification: Performance of Templates: time 0.06265/9.001, allocations: 42.67 MB / 4.201 GB, free: 275.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches