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.007588/0.007588, allocations: 99.56 kB / 15.73 MB, free: 6.422 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.001564/0.001565, allocations: 195.3 kB / 16.67 MB, free: 6.34 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.441/2.441, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 70.89 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02706/0.3762, allocations: 29.34 MB / 1.117 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.3868, allocations: 6.87 MB / 1.123 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.3884, allocations: 47.69 kB / 1.123 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.3902, allocations: 0.6953 MB / 1.124 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.394, allocations: 1.451 MB / 1.125 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.3969, allocations: 1.158 MB / 1.127 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.4001, allocations: 2.473 MB / 1.129 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.4013, allocations: 0.7981 MB / 1.13 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.4032, allocations: 1.035 MB / 1.131 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.4044, allocations: 0.8208 MB / 1.132 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.4045, allocations: 68 kB / 1.132 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.4069, allocations: 0.8148 MB / 1.132 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.4073, allocations: 275 kB / 1.133 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.4079, allocations: 0.5553 MB / 1.133 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.4104, allocations: 1.616 MB / 1.135 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4104, allocations: 4 kB / 1.135 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4104, allocations: 0 / 1.135 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.4105, allocations: 0 / 1.135 GB, free: 1.312 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.002599/0.4131, allocations: 1.566 MB / 1.136 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4131, allocations: 12.03 kB / 1.136 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.4163, allocations: 0.5845 MB / 1.137 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.4177, allocations: 0.8719 MB / 1.138 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.4178, allocations: 62.36 kB / 1.138 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.4179, allocations: 71.94 kB / 1.138 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.4203, allocations: 1.103 MB / 1.139 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4203, allocations: 0 / 1.139 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.4204, allocations: 32 kB / 1.139 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.4204, allocations: 16 kB / 1.139 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.4235, allocations: 1.008 MB / 1.14 GB, free: 11.79 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.005496/0.429, allocations: 4.939 MB / 1.145 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.4318, allocations: 0.9008 MB / 1.146 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4333, allocations: 496.2 kB / 1.146 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.4347, allocations: 1.583 MB / 1.148 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/0.4363, allocations: 0.5807 MB / 1.148 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 3.336e-06/0.4363, allocations: 0 / 1.148 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.004883/0.4412, allocations: 1.485 MB / 1.15 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.4413, allocations: 55.97 kB / 1.15 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.4427, allocations: 1.116 MB / 1.151 GB, free: 15.96 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.4428, allocations: 37.7 kB / 1.151 GB, free: 15.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.4432, allocations: 0.5512 MB / 1.151 GB, free: 15.36 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.4434, allocations: 209.1 kB / 1.152 GB, free: 15.15 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.4437, allocations: 170.4 kB / 1.152 GB, free: 14.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4438, allocations: 330 kB / 1.152 GB, free: 14.65 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.4453, allocations: 461.6 kB / 1.153 GB, free: 14.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.447, allocations: 0.7088 MB / 1.153 GB, free: 13.37 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/0.45, allocations: 1.124 MB / 1.154 GB, free: 12.14 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.45, allocations: 0 / 1.154 GB, free: 12.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003497/0.4535, allocations: 1.27 MB / 1.156 GB, free: 10.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4536, allocations: 9.562 kB / 1.156 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4536, allocations: 8 kB / 1.156 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.4536, allocations: 12 kB / 1.156 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4548, allocations: 272.1 kB / 1.156 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.4548, allocations: 15.94 kB / 1.156 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.456, allocations: 178.9 kB / 1.156 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.4561, allocations: 47.98 kB / 1.156 GB, free: 10.33 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.0005439/0.4566, allocations: 291.8 kB / 1.156 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.4568, allocations: 122.4 kB / 1.157 GB, free: 9.914 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.4605, allocations: 1.371 MB / 1.158 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.4605, allocations: 7.984 kB / 1.158 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4605, allocations: 4 kB / 1.158 GB, free: 8.523 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4605, allocations: 3.984 kB / 1.158 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.4653, allocations: 2.37 MB / 1.16 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.4653, allocations: 0 / 1.16 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.4663, allocations: 183.9 kB / 1.16 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.4663, allocations: 4 kB / 1.16 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.4664, allocations: 23.97 kB / 1.16 GB, free: 5.871 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.4664, allocations: 11.94 kB / 1.16 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4664, allocations: 4 kB / 1.16 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/0.4712, allocations: 1.969 MB / 1.162 GB, free: 3.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/0.4717, allocations: 271.4 kB / 1.163 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.4718, allocations: 23.94 kB / 1.163 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000866/0.4727, allocations: 115.8 kB / 1.163 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4728, allocations: 48.44 kB / 1.163 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.4729, allocations: 35.97 kB / 1.163 GB, free: 3.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009124/0.4738, allocations: 0.7638 MB / 1.164 GB, free: 2.57 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4738, allocations: 4 kB / 1.164 GB, free: 2.566 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001105/0.4749, allocations: 351.5 kB / 1.164 GB, free: 2.223 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.001583/0.4765, allocations: 0.6471 MB / 1.165 GB, free: 1.73 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003324/0.4798, allocations: 1.11 MB / 1.166 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4799, allocations: 0 / 1.166 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.4815, allocations: 0.5775 MB / 1.166 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.4834, allocations: 467.9 kB / 1.167 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.488, allocations: 2.338 MB / 1.169 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.4887, allocations: 1.108 MB / 1.17 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008195/0.4895, allocations: 248.6 kB / 1.17 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.4898, allocations: 103.4 kB / 1.17 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.4898, allocations: 0 / 1.17 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.03268/0.5225, allocations: 20.34 MB / 1.19 GB, free: 7.633 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