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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001203/0.001202, allocations: 113.2 kB / 16.37 MB, free: 5.984 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.001191/0.001191, allocations: 194.8 kB / 17.31 MB, free: 5.602 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.16 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03065/0.3349, allocations: 29.35 MB / 0.9798 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.3481, allocations: 6.87 MB / 0.9865 GB, free: 3.711 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.3502, allocations: 47.69 kB / 0.9865 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.3523, allocations: 0.703 MB / 0.9872 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.3573, allocations: 1.442 MB / 0.9886 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.3608, allocations: 1.153 MB / 0.9898 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004414/0.3652, allocations: 2.485 MB / 0.9922 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.3669, allocations: 0.802 MB / 0.993 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.37, allocations: 1.012 MB / 0.9939 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.3716, allocations: 0.813 MB / 0.9947 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.3718, allocations: 72 kB / 0.9948 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.3744, allocations: 0.8148 MB / 0.9956 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.3748, allocations: 275 kB / 0.9959 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009924/0.3758, allocations: 0.5553 MB / 0.9964 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.379, allocations: 1.612 MB / 0.998 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.379, allocations: 0 / 0.998 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.963e-06/0.379, allocations: 0 / 0.998 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.379, allocations: 4 kB / 0.998 GB, free: 7.887 MB / 0.7794 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.002999/0.382, allocations: 1.559 MB / 0.9995 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3821, allocations: 12.03 kB / 0.9995 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.3855, allocations: 0.5845 MB / 1 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.3873, allocations: 0.8796 MB / 1.001 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.3874, allocations: 54.38 kB / 1.001 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.3876, allocations: 75.94 kB / 1.001 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.3905, allocations: 1.103 MB / 1.002 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3906, allocations: 0 / 1.002 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.3906, allocations: 28 kB / 1.002 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.3907, allocations: 20 kB / 1.002 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.3938, allocations: 1.004 MB / 1.003 GB, free: 2.371 MB / 0.7794 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.006985/0.4008, allocations: 4.935 MB / 1.008 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.4038, allocations: 0.9054 MB / 1.009 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.4052, allocations: 494.1 kB / 1.009 GB, free: 11.74 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/0.4068, allocations: 1.587 MB / 1.011 GB, free: 9.805 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.4086, allocations: 0.5728 MB / 1.011 GB, free: 9.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=61): time 2.826e-06/0.4086, allocations: 0 / 1.011 GB, free: 9.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=61): time 0.004839/0.4134, allocations: 1.485 MB / 1.013 GB, free: 7.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.4135, allocations: 55.97 kB / 1.013 GB, free: 7.664 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.4151, allocations: 1.124 MB / 1.014 GB, free: 6.527 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.4152, allocations: 37.7 kB / 1.014 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.4157, allocations: 0.5434 MB / 1.015 GB, free: 5.934 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.4159, allocations: 205.1 kB / 1.015 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.4162, allocations: 166.5 kB / 1.015 GB, free: 5.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0003507/0.4165, allocations: 337.9 kB / 1.015 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4178, allocations: 453.6 kB / 1.016 GB, free: 4.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.4195, allocations: 0.7163 MB / 1.016 GB, free: 3.953 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.4224, allocations: 1.12 MB / 1.018 GB, free: 2.723 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4224, allocations: 4 kB / 1.018 GB, free: 2.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003609/0.426, allocations: 1.27 MB / 1.019 GB, free: 1.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.4261, allocations: 8 kB / 1.019 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.4261, allocations: 11.98 kB / 1.019 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/0.4261, allocations: 12 kB / 1.019 GB, free: 1.414 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.4273, allocations: 267.9 kB / 1.019 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.4274, allocations: 19.92 kB / 1.019 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4287, allocations: 178.8 kB / 1.019 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/0.4288, allocations: 47.97 kB / 1.019 GB, free: 0.9102 MB / 0.795 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.0005311/0.4294, allocations: 299.8 kB / 1.02 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.4296, allocations: 118.5 kB / 1.02 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.4333, allocations: 1.363 MB / 1.021 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.4333, allocations: 8 kB / 1.021 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4333, allocations: 7.875 kB / 1.021 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4333, allocations: 3.984 kB / 1.021 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.4386, allocations: 2.378 MB / 1.023 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.4386, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4396, allocations: 183.8 kB / 1.024 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.4396, allocations: 7.984 kB / 1.024 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.4397, allocations: 19.98 kB / 1.024 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.4397, allocations: 7.984 kB / 1.024 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.4397, allocations: 7.938 kB / 1.024 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/0.4447, allocations: 1.973 MB / 1.026 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.4453, allocations: 275.4 kB / 1.026 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.4456, allocations: 16 kB / 1.026 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/0.4464, allocations: 111.9 kB / 1.026 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.4466, allocations: 56.36 kB / 1.026 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.4467, allocations: 35.97 kB / 1.026 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001042/0.4477, allocations: 0.7638 MB / 1.027 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4477, allocations: 0 / 1.027 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00122/0.4489, allocations: 343.5 kB / 1.027 GB, free: 8.805 MB / 0.8106 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.001633/0.4506, allocations: 0.6602 MB / 1.028 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.4538, allocations: 1.11 MB / 1.029 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4539, allocations: 0 / 1.029 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.4554, allocations: 0.5775 MB / 1.029 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.4574, allocations: 454.3 kB / 1.03 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.4621, allocations: 2.322 MB / 1.032 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.4628, allocations: 1.104 MB / 1.033 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009631/0.4638, allocations: 256.5 kB / 1.033 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.4641, allocations: 103.4 kB / 1.033 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/0.4641, allocations: 0 / 1.033 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of Templates: time 0.0372/0.5013, allocations: 19.86 MB / 1.053 GB, free: 14.75 MB / 0.8419 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 -s cvode -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/jenkins1/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