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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01092/0.01092, allocations: 98.38 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 196.9 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 62.41 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3506, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03779/0.3884, allocations: 29.33 MB / 1.117 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.4013, allocations: 6.874 MB / 1.123 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.4035, allocations: 47.69 kB / 1.123 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.4063, allocations: 0.7031 MB / 1.124 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.4122, allocations: 1.514 MB / 1.126 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.4163, allocations: 1.161 MB / 1.127 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004519/0.4209, allocations: 2.481 MB / 1.129 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.4228, allocations: 0.7942 MB / 1.13 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.4255, allocations: 1.051 MB / 1.131 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.4275, allocations: 0.8208 MB / 1.132 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000328/0.4278, allocations: 64 kB / 1.132 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.4306, allocations: 0.8227 MB / 1.133 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.4311, allocations: 278.9 kB / 1.133 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.4325, allocations: 0.5475 MB / 1.133 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.4367, allocations: 1.619 MB / 1.135 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4367, allocations: 0 / 1.135 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4368, allocations: 0 / 1.135 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.139e-05/0.4368, allocations: 8 kB / 1.135 GB, free: 1.176 MB / 0.8887 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.004089/0.4409, allocations: 1.608 MB / 1.137 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.441, allocations: 12.03 kB / 1.137 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.4448, allocations: 0.5853 MB / 1.137 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.4469, allocations: 0.8846 MB / 1.138 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.447, allocations: 58.3 kB / 1.138 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.4471, allocations: 79.94 kB / 1.138 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.4499, allocations: 1.105 MB / 1.139 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.4499, allocations: 3.938 kB / 1.139 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.45, allocations: 28 kB / 1.139 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.4501, allocations: 20 kB / 1.139 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.4534, allocations: 1 MB / 1.14 GB, free: 11.6 MB / 0.9044 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.006667/0.46, allocations: 4.948 MB / 1.145 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.4632, allocations: 0.9029 MB / 1.146 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.4647, allocations: 486.2 kB / 1.146 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.4663, allocations: 1.584 MB / 1.148 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.4681, allocations: 0.5805 MB / 1.148 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 3.266e-06/0.4681, allocations: 0 / 1.148 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.005183/0.4733, allocations: 1.493 MB / 1.15 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4734, allocations: 55.97 kB / 1.15 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.4749, allocations: 1.116 MB / 1.151 GB, free: 15.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.125e-05/0.475, allocations: 41.7 kB / 1.151 GB, free: 15.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006039/0.4756, allocations: 0.552 MB / 1.152 GB, free: 15.15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4759, allocations: 222.2 kB / 1.152 GB, free: 14.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.4761, allocations: 162.5 kB / 1.152 GB, free: 14.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4763, allocations: 338 kB / 1.152 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.4778, allocations: 453.6 kB / 1.153 GB, free: 13.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4796, allocations: 0.7088 MB / 1.153 GB, free: 13.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/0.4829, allocations: 1.124 MB / 1.155 GB, free: 11.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.483, allocations: 8.031 kB / 1.155 GB, free: 11.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003828/0.4868, allocations: 1.282 MB / 1.156 GB, free: 10.63 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4868, allocations: 8 kB / 1.156 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4869, allocations: 8 kB / 1.156 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.609e-05/0.4869, allocations: 12 kB / 1.156 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4881, allocations: 272.2 kB / 1.156 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/0.4882, allocations: 15.94 kB / 1.156 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4895, allocations: 187.2 kB / 1.156 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.4896, allocations: 43.98 kB / 1.156 GB, free: 10.1 MB / 0.92 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005587/0.4902, allocations: 299.6 kB / 1.157 GB, free: 9.793 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.4905, allocations: 127.1 kB / 1.157 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.4946, allocations: 1.355 MB / 1.158 GB, free: 8.305 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.4947, allocations: 11.98 kB / 1.158 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4947, allocations: 0 / 1.158 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4947, allocations: 3.984 kB / 1.158 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/0.5006, allocations: 2.378 MB / 1.16 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5006, allocations: 0 / 1.16 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.5017, allocations: 187.9 kB / 1.161 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.5017, allocations: 4 kB / 1.161 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.5018, allocations: 27.97 kB / 1.161 GB, free: 5.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.5018, allocations: 4 kB / 1.161 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5018, allocations: 4 kB / 1.161 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/0.5072, allocations: 1.978 MB / 1.163 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.5079, allocations: 284 kB / 1.163 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.5081, allocations: 16 kB / 1.163 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5092, allocations: 107.9 kB / 1.163 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.5093, allocations: 52.44 kB / 1.163 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.5094, allocations: 31.97 kB / 1.163 GB, free: 3.098 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001141/0.5106, allocations: 0.7716 MB / 1.164 GB, free: 2.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5106, allocations: 0 / 1.164 GB, free: 2.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001266/0.5119, allocations: 351.3 kB / 1.164 GB, free: 1.977 MB / 0.92 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/0.5136, allocations: 0.6583 MB / 1.165 GB, free: 1.473 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003521/0.5171, allocations: 1.107 MB / 1.166 GB, free: 376 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5171, allocations: 0 / 1.166 GB, free: 376 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.5188, allocations: 0.5814 MB / 1.166 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.5211, allocations: 464.1 kB / 1.167 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.5262, allocations: 2.37 MB / 1.169 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.527, allocations: 1.108 MB / 1.17 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009349/0.528, allocations: 240.7 kB / 1.17 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.5283, allocations: 107.4 kB / 1.171 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of SimCode: time 8.81e-07/0.5283, allocations: 4 kB / 1.171 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.03452/0.5629, allocations: 20.01 MB / 1.19 GB, free: 7.676 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches