Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009337/0.0009336, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008756/0.008756, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.845/2.845, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 12.25 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3936, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02982/0.4234, allocations: 28.46 MB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.4367, allocations: 6.828 MB / 1.093 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.439, allocations: 43.69 kB / 1.093 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.4413, allocations: 0.6027 MB / 1.094 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005284/0.4467, allocations: 1.345 MB / 1.095 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.4503, allocations: 1.044 MB / 1.096 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004774/0.4551, allocations: 3.214 MB / 1.099 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.4569, allocations: 0.7056 MB / 1.1 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.46, allocations: 0.9217 MB / 1.101 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.4629, allocations: 0.8129 MB / 1.102 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005344/0.4635, allocations: 36 kB / 1.102 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.467, allocations: 0.7599 MB / 1.102 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007551/0.4678, allocations: 258.9 kB / 1.103 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.4696, allocations: 0.5414 MB / 1.103 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.4744, allocations: 1.549 MB / 1.105 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.4744, allocations: 0 / 1.105 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.088e-06/0.4744, allocations: 0 / 1.105 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.037e-05/0.4745, allocations: 0 / 1.105 GB, free: 6.195 MB / 0.8575 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.003577/0.4781, allocations: 1.364 MB / 1.106 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4782, allocations: 11.97 kB / 1.106 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.4818, allocations: 0.6275 MB / 1.107 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.4833, allocations: 0.7978 MB / 1.107 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/0.4834, allocations: 58.38 kB / 1.107 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.4836, allocations: 75.94 kB / 1.108 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.486, allocations: 1.119 MB / 1.109 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.486, allocations: 0 / 1.109 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.4861, allocations: 32 kB / 1.109 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.4862, allocations: 20 kB / 1.109 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.4892, allocations: 1.02 MB / 1.11 GB, free: 0.8828 MB / 0.8575 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.00653/0.4957, allocations: 4.975 MB / 1.115 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.4988, allocations: 0.9621 MB / 1.115 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.5002, allocations: 498.2 kB / 1.116 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/0.5019, allocations: 1.596 MB / 1.118 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.5036, allocations: 0.5924 MB / 1.118 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.5036, allocations: 0 / 1.118 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.004979/0.5086, allocations: 1.52 MB / 1.12 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.5087, allocations: 59.97 kB / 1.12 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.5102, allocations: 1.116 MB / 1.121 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/0.5103, allocations: 37.7 kB / 1.121 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.5108, allocations: 0.5434 MB / 1.121 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.511, allocations: 213 kB / 1.121 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.5111, allocations: 73.67 kB / 1.122 GB, free: 4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5112, allocations: 338 kB / 1.122 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.5127, allocations: 461.6 kB / 1.122 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.5144, allocations: 0.7281 MB / 1.123 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.5175, allocations: 1.144 MB / 1.124 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.5175, allocations: 4 kB / 1.124 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003699/0.5212, allocations: 1.302 MB / 1.125 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.5213, allocations: 8.125 kB / 1.125 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5213, allocations: 12 kB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.104e-05/0.5213, allocations: 12 kB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5225, allocations: 267.6 kB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.5226, allocations: 19.92 kB / 1.126 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.524, allocations: 203 kB / 1.126 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.5241, allocations: 43.98 kB / 1.126 GB, free: 15.26 MB / 0.8887 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.0006156/0.5247, allocations: 295.8 kB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.5249, allocations: 122.4 kB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/0.5286, allocations: 1.394 MB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.5286, allocations: 8 kB / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5286, allocations: 0 / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5287, allocations: 7.984 kB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/0.5336, allocations: 2.386 MB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.5336, allocations: 4 kB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.5346, allocations: 195.9 kB / 1.13 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.5346, allocations: 4 kB / 1.13 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.5347, allocations: 23.97 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.5347, allocations: 4 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5347, allocations: 7.938 kB / 1.13 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/0.5398, allocations: 2.004 MB / 1.132 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/0.5403, allocations: 287.4 kB / 1.133 GB, free: 8.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5405, allocations: 23.92 kB / 1.133 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/0.5415, allocations: 131.8 kB / 1.133 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.5416, allocations: 52.36 kB / 1.133 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.5417, allocations: 39.97 kB / 1.133 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000983/0.5427, allocations: 0.7638 MB / 1.134 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5427, allocations: 0 / 1.134 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001196/0.5439, allocations: 347.5 kB / 1.134 GB, free: 7.023 MB / 0.8887 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.001605/0.5455, allocations: 0.6519 MB / 1.134 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00339/0.5489, allocations: 1.134 MB / 1.136 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5489, allocations: 0 / 1.136 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.5505, allocations: 0.5853 MB / 1.136 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.553, allocations: 438.5 kB / 1.137 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.5582, allocations: 2.796 MB / 1.139 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.5589, allocations: 1.106 MB / 1.14 GB, free: 420 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001107/0.56, allocations: 248.7 kB / 1.141 GB, free: 168 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.5604, allocations: 107.3 kB / 1.141 GB, free: 60 kB / 0.8887 GB Notification: Performance of SimCode: time 1.533e-06/0.5604, allocations: 0 / 1.141 GB, free: 60 kB / 0.8887 GB Notification: Performance of Templates: time 0.03438/0.5947, allocations: 18.93 MB / 1.159 GB, free: 13.37 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches