Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 157.5 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00344/0.00344, allocations: 63.91 kB / 0.9515 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3462, allocations: 169.9 MB / 1.117 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.6556/1.002, allocations: 27.11 MB / 1.144 GB, free: 43.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008198/1.01, allocations: 6.547 MB / 1.15 GB, free: 41.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008865/1.011, allocations: 66.25 kB / 1.15 GB, free: 41.35 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/1.012, allocations: 0.6982 MB / 1.151 GB, free: 41.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/1.015, allocations: 1.572 MB / 1.153 GB, free: 40.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/1.017, allocations: 1.077 MB / 1.154 GB, free: 39.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002128/1.019, allocations: 2.54 MB / 1.156 GB, free: 38.51 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007456/1.02, allocations: 0.6463 MB / 1.157 GB, free: 38.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/1.021, allocations: 1.07 MB / 1.158 GB, free: 37.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008583/1.022, allocations: 0.8431 MB / 1.159 GB, free: 37.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/1.022, allocations: 68.25 kB / 1.159 GB, free: 37.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/1.024, allocations: 0.6744 MB / 1.159 GB, free: 37.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/1.024, allocations: 291.3 kB / 1.16 GB, free: 37.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/1.024, allocations: 463.5 kB / 1.16 GB, free: 36.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/1.026, allocations: 1.612 MB / 1.162 GB, free: 36.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.026, allocations: 0 / 1.162 GB, free: 36.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/1.026, allocations: 0 / 1.162 GB, free: 36.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.586e-05/1.026, allocations: 0 / 1.162 GB, free: 36.21 MB / 1.076 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.002137/1.028, allocations: 1.552 MB / 1.163 GB, free: 35.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/1.028, allocations: 8.812 kB / 1.163 GB, free: 35.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/1.031, allocations: 0.6017 MB / 1.164 GB, free: 35.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.033, allocations: 0.7769 MB / 1.165 GB, free: 34.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/1.033, allocations: 59.22 kB / 1.165 GB, free: 34.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/1.033, allocations: 78.52 kB / 1.165 GB, free: 34.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.035, allocations: 1.099 MB / 1.166 GB, free: 34.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/1.035, allocations: 6.141 kB / 1.166 GB, free: 34.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/1.035, allocations: 36.11 kB / 1.166 GB, free: 34.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/1.035, allocations: 18.34 kB / 1.166 GB, free: 34.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/1.038, allocations: 1.012 MB / 1.167 GB, free: 33.75 MB / 1.076 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.004187/1.042, allocations: 4.137 MB / 1.171 GB, free: 30.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/1.045, allocations: 0.8813 MB / 1.172 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/1.046, allocations: 469.5 kB / 1.172 GB, free: 30.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/1.047, allocations: 172.7 kB / 1.172 GB, free: 30.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/1.048, allocations: 0.5791 MB / 1.173 GB, free: 30.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=61): time 2.835e-06/1.048, allocations: 2.719 kB / 1.173 GB, free: 30.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=61): time 0.004972/1.053, allocations: 1.502 MB / 1.174 GB, free: 29.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/1.053, allocations: 61.97 kB / 1.174 GB, free: 29.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.055, allocations: 1.078 MB / 1.175 GB, free: 29.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/1.055, allocations: 45.11 kB / 1.176 GB, free: 29.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/1.055, allocations: 0.5709 MB / 1.176 GB, free: 28.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.055, allocations: 217.2 kB / 1.176 GB, free: 28.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/1.056, allocations: 165 kB / 1.176 GB, free: 28.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/1.056, allocations: 338.1 kB / 1.177 GB, free: 28.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.057, allocations: 457.8 kB / 1.177 GB, free: 28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.059, allocations: 0.9418 MB / 1.178 GB, free: 27.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/1.062, allocations: 1.139 MB / 1.179 GB, free: 26.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.062, allocations: 6.812 kB / 1.179 GB, free: 26.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003611/1.065, allocations: 1.273 MB / 1.18 GB, free: 26.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.065, allocations: 20.16 kB / 1.18 GB, free: 26.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.065, allocations: 7.375 kB / 1.18 GB, free: 26.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.065, allocations: 12.38 kB / 1.181 GB, free: 26.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.067, allocations: 274.2 kB / 1.181 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/1.067, allocations: 17.03 kB / 1.181 GB, free: 26.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.068, allocations: 174.9 kB / 1.181 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.068, allocations: 44.61 kB / 1.181 GB, free: 26.18 MB / 1.076 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.0004489/1.068, allocations: 303.2 kB / 1.181 GB, free: 25.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/1.068, allocations: 122.8 kB / 1.181 GB, free: 25.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/1.073, allocations: 1.423 MB / 1.183 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/1.073, allocations: 10.27 kB / 1.183 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.073, allocations: 0 / 1.183 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.073, allocations: 5.297 kB / 1.183 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/1.078, allocations: 2.255 MB / 1.185 GB, free: 24.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.078, allocations: 2.156 kB / 1.185 GB, free: 24.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.079, allocations: 199.4 kB / 1.185 GB, free: 24.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.079, allocations: 3.406 kB / 1.185 GB, free: 24.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/1.079, allocations: 31.33 kB / 1.185 GB, free: 24.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/1.079, allocations: 9 kB / 1.185 GB, free: 24.49 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.079, allocations: 2.094 kB / 1.185 GB, free: 24.49 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005373/1.085, allocations: 2.07 MB / 1.187 GB, free: 23.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/1.085, allocations: 199.2 kB / 1.187 GB, free: 23.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/1.085, allocations: 19.7 kB / 1.187 GB, free: 23.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.086, allocations: 107.3 kB / 1.188 GB, free: 23.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.086, allocations: 59.09 kB / 1.188 GB, free: 23.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.808e-05/1.086, allocations: 33.72 kB / 1.188 GB, free: 23.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009993/1.087, allocations: 0.7274 MB / 1.188 GB, free: 23.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.087, allocations: 1.25 kB / 1.188 GB, free: 23.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001226/1.089, allocations: 369.2 kB / 1.189 GB, free: 23.18 MB / 1.076 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 (76): * Single equations (assignments): 61 * 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.002164/1.091, allocations: 0.6689 MB / 1.189 GB, free: 22.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003539/1.094, allocations: 1.119 MB / 1.19 GB, free: 22.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.094, allocations: 0 / 1.19 GB, free: 22.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.096, allocations: 0.5717 MB / 1.191 GB, free: 22.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.098, allocations: 373.5 kB / 1.191 GB, free: 22.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/1.103, allocations: 2.418 MB / 1.194 GB, free: 21.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008706/1.104, allocations: 0.5276 MB / 1.194 GB, free: 21.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009812/1.105, allocations: 228.2 kB / 1.194 GB, free: 20.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/1.105, allocations: 103.8 kB / 1.195 GB, free: 20.94 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/1.105, allocations: 4 kB / 1.195 GB, free: 20.94 MB / 1.076 GB Notification: Performance of Templates: time 0.03534/1.141, allocations: 18.84 MB / 1.213 GB, free: 18.43 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.723190777003765]