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.00847/0.00847, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.002129/0.002129, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.584/1.584, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.42/2.42, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.23 kB / 0.9509 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.288, allocations: 140.4 MB / 1.088 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02813/0.3162, allocations: 29.33 MB / 1.117 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.3266, allocations: 6.871 MB / 1.123 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.3279, allocations: 51.62 kB / 1.123 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.3295, allocations: 0.6914 MB / 1.124 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.3328, allocations: 1.45 MB / 1.125 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.3358, allocations: 1.167 MB / 1.127 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002831/0.3386, allocations: 2.469 MB / 1.129 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009861/0.3396, allocations: 0.7942 MB / 1.13 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.3413, allocations: 1.012 MB / 1.131 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009462/0.3423, allocations: 0.8208 MB / 1.132 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.3424, allocations: 64 kB / 1.132 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.3441, allocations: 0.8266 MB / 1.132 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.3443, allocations: 271 kB / 1.133 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.3449, allocations: 0.5553 MB / 1.133 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.3468, allocations: 1.608 MB / 1.135 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3468, allocations: 0 / 1.135 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3468, allocations: 3.938 kB / 1.135 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.3468, allocations: 0 / 1.135 GB, free: 1.449 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.002623/0.3495, allocations: 1.57 MB / 1.136 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3495, allocations: 8.031 kB / 1.136 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.353, allocations: 0.5923 MB / 1.137 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.3545, allocations: 0.8757 MB / 1.138 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.3545, allocations: 58.36 kB / 1.138 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.3547, allocations: 75.94 kB / 1.138 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.3571, allocations: 1.105 MB / 1.139 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3571, allocations: 7.938 kB / 1.139 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/0.3572, allocations: 28 kB / 1.139 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.3572, allocations: 16 kB / 1.139 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.3603, allocations: 0.9962 MB / 1.14 GB, free: 11.93 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.005449/0.3658, allocations: 4.943 MB / 1.145 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.3688, allocations: 0.899 MB / 1.146 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3703, allocations: 487.1 kB / 1.146 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/0.3719, allocations: 1.595 MB / 1.148 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.3735, allocations: 0.5728 MB / 1.148 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 2.896e-06/0.3736, allocations: 0 / 1.148 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.005337/0.3789, allocations: 1.485 MB / 1.15 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.379, allocations: 59.97 kB / 1.15 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.3807, allocations: 1.112 MB / 1.151 GB, free: 92 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/0.3808, allocations: 41.7 kB / 1.151 GB, free: 44 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.3812, allocations: 0.5433 MB / 1.151 GB, free: 15.49 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.3815, allocations: 209.2 kB / 1.152 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.3817, allocations: 170.4 kB / 1.152 GB, free: 15.11 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3819, allocations: 341.9 kB / 1.152 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.3833, allocations: 445.6 kB / 1.153 GB, free: 14.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.385, allocations: 0.7205 MB / 1.153 GB, free: 13.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.388, allocations: 1.117 MB / 1.154 GB, free: 12.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.388, allocations: 0 / 1.154 GB, free: 12.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003483/0.3915, allocations: 1.27 MB / 1.156 GB, free: 11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3915, allocations: 8 kB / 1.156 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3915, allocations: 11.98 kB / 1.156 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.3915, allocations: 12 kB / 1.156 GB, free: 10.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.3927, allocations: 275.9 kB / 1.156 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.3928, allocations: 15.98 kB / 1.156 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.3939, allocations: 170.9 kB / 1.156 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.394, allocations: 55.97 kB / 1.156 GB, free: 10.46 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.0004166/0.3944, allocations: 295.7 kB / 1.156 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.3946, allocations: 122.4 kB / 1.157 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.3983, allocations: 1.359 MB / 1.158 GB, free: 8.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.3983, allocations: 11.94 kB / 1.158 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3983, allocations: 0 / 1.158 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.3983, allocations: 3.984 kB / 1.158 GB, free: 8.656 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.4031, allocations: 2.37 MB / 1.16 GB, free: 6.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4032, allocations: 7.938 kB / 1.16 GB, free: 6.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.4042, allocations: 183.8 kB / 1.16 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.4042, allocations: 7.984 kB / 1.16 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.4043, allocations: 23.98 kB / 1.16 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.4043, allocations: 7.984 kB / 1.16 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4043, allocations: 4 kB / 1.16 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/0.4094, allocations: 1.969 MB / 1.162 GB, free: 3.973 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/0.4099, allocations: 279.4 kB / 1.163 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.4101, allocations: 12 kB / 1.163 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/0.4111, allocations: 107.9 kB / 1.163 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.4112, allocations: 52.42 kB / 1.163 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.4113, allocations: 35.97 kB / 1.163 GB, free: 3.477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00102/0.4124, allocations: 0.7638 MB / 1.164 GB, free: 2.707 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4124, allocations: 0 / 1.164 GB, free: 2.707 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001184/0.4136, allocations: 351.5 kB / 1.164 GB, free: 2.363 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.001661/0.4152, allocations: 0.6563 MB / 1.165 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003599/0.4188, allocations: 1.107 MB / 1.166 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.4189, allocations: 0 / 1.166 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.4207, allocations: 0.5814 MB / 1.166 GB, free: 184 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.4232, allocations: 459.2 kB / 1.167 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.4286, allocations: 2.338 MB / 1.169 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.4294, allocations: 1.11 MB / 1.17 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000956/0.4304, allocations: 240.7 kB / 1.17 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.4307, allocations: 111.4 kB / 1.17 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of SimCode: time 7.52e-07/0.4307, allocations: 0 / 1.17 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of Templates: time 0.03522/0.466, allocations: 20.01 MB / 1.19 GB, free: 8.109 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