Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01055/0.01055, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.00239/0.00239, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437 MB / 0.7105 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9936/0.9951, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03156/1.027, allocations: 29.34 MB / 1.195 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01149/1.038, allocations: 6.87 MB / 1.202 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/1.04, allocations: 47.69 kB / 1.202 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/1.041, allocations: 0.6875 MB / 1.203 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/1.045, allocations: 1.459 MB / 1.204 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/1.048, allocations: 1.155 MB / 1.205 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002955/1.051, allocations: 2.473 MB / 1.208 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/1.052, allocations: 0.7865 MB / 1.208 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/1.054, allocations: 1.019 MB / 1.209 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009674/1.055, allocations: 0.813 MB / 1.21 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/1.055, allocations: 68 kB / 1.21 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/1.057, allocations: 0.8226 MB / 1.211 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/1.057, allocations: 275 kB / 1.211 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005425/1.058, allocations: 0.5437 MB / 1.212 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/1.06, allocations: 1.631 MB / 1.213 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.06, allocations: 3.938 kB / 1.213 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/1.06, allocations: 0 / 1.213 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.747e-05/1.06, allocations: 0 / 1.213 GB, free: 3.641 MB / 0.9356 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.002492/1.062, allocations: 1.612 MB / 1.215 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.062, allocations: 12.91 kB / 1.215 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/1.066, allocations: 0.5931 MB / 1.216 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/1.067, allocations: 0.8768 MB / 1.217 GB, free: 444 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/1.067, allocations: 58.38 kB / 1.217 GB, free: 388 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.067, allocations: 79.92 kB / 1.217 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/1.07, allocations: 1.096 MB / 1.218 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/1.07, allocations: 3.938 kB / 1.218 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/1.07, allocations: 32 kB / 1.218 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/1.07, allocations: 20 kB / 1.218 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/1.073, allocations: 1 MB / 1.219 GB, free: 14.07 MB / 0.9512 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.005761/1.079, allocations: 4.955 MB / 1.224 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/1.082, allocations: 0.9095 MB / 1.224 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/1.083, allocations: 486.2 kB / 1.225 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.085, allocations: 1.588 MB / 1.226 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/1.086, allocations: 0.5767 MB / 1.227 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 2.505e-06/1.086, allocations: 3.938 kB / 1.227 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.004927/1.091, allocations: 1.493 MB / 1.229 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.091, allocations: 55.97 kB / 1.229 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.093, allocations: 1.116 MB / 1.23 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/1.093, allocations: 41.7 kB / 1.23 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/1.093, allocations: 0.552 MB / 1.23 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/1.093, allocations: 218.2 kB / 1.23 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/1.094, allocations: 162.6 kB / 1.231 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.094, allocations: 338 kB / 1.231 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.095, allocations: 449.6 kB / 1.231 GB, free: 456 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/1.097, allocations: 0.7128 MB / 1.232 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/1.1, allocations: 1.113 MB / 1.233 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.1, allocations: 4 kB / 1.233 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003733/1.104, allocations: 1.295 MB / 1.234 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/1.104, allocations: 8 kB / 1.234 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.104, allocations: 8 kB / 1.234 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/1.104, allocations: 12 kB / 1.234 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.105, allocations: 263.7 kB / 1.235 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/1.105, allocations: 23.92 kB / 1.235 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.106, allocations: 183.2 kB / 1.235 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/1.107, allocations: 43.98 kB / 1.235 GB, free: 12.57 MB / 0.9669 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.0004707/1.107, allocations: 291.8 kB / 1.235 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.107, allocations: 135.1 kB / 1.235 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/1.111, allocations: 1.359 MB / 1.237 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/1.111, allocations: 11.98 kB / 1.237 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.111, allocations: 0 / 1.237 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.111, allocations: 0 / 1.237 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/1.116, allocations: 2.374 MB / 1.239 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.116, allocations: 7.875 kB / 1.239 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.117, allocations: 187.9 kB / 1.239 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/1.117, allocations: 4 kB / 1.239 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/1.118, allocations: 23.97 kB / 1.239 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/1.118, allocations: 4 kB / 1.239 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.118, allocations: 4 kB / 1.239 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/1.123, allocations: 1.989 MB / 1.241 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/1.123, allocations: 280.1 kB / 1.241 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/1.123, allocations: 19.94 kB / 1.241 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009541/1.124, allocations: 107.9 kB / 1.242 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.124, allocations: 56.36 kB / 1.242 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/1.125, allocations: 35.97 kB / 1.242 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001003/1.126, allocations: 0.7638 MB / 1.242 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/1.126, allocations: 0 / 1.242 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001092/1.127, allocations: 347.3 kB / 1.243 GB, free: 4.438 MB / 0.9669 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.001618/1.128, allocations: 0.6582 MB / 1.243 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00353/1.132, allocations: 1.118 MB / 1.244 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.132, allocations: 0 / 1.244 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.134, allocations: 0.5775 MB / 1.245 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.136, allocations: 455.8 kB / 1.245 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.141, allocations: 2.363 MB / 1.248 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/1.142, allocations: 1.101 MB / 1.249 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009489/1.143, allocations: 252.6 kB / 1.249 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/1.143, allocations: 111.3 kB / 1.249 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/1.143, allocations: 4 kB / 1.249 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.03556/1.179, allocations: 20.01 MB / 1.269 GB, free: 10.15 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches