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.001345/0.001345, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001477/0.001477, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.748/2.748, allocations: 476 MB / 0.7707 GB, free: 4.656 MB / 0.6231 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.002158/0.002158, allocations: 65.58 kB / 1.118 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3797, allocations: 169.9 MB / 1.284 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03623/0.416, allocations: 27.12 MB / 1.31 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.4281, allocations: 6.54 MB / 1.317 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.4293, allocations: 67.38 kB / 1.317 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.4312, allocations: 0.6953 MB / 1.317 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.4356, allocations: 1.575 MB / 1.319 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.4385, allocations: 1.085 MB / 1.32 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003755/0.4423, allocations: 2.528 MB / 1.322 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.4437, allocations: 0.6466 MB / 1.323 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.4459, allocations: 1.074 MB / 1.324 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.4475, allocations: 0.8363 MB / 1.325 GB, free: 9.336 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.4477, allocations: 71.94 kB / 1.325 GB, free: 9.266 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.4496, allocations: 0.6743 MB / 1.326 GB, free: 8.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.4501, allocations: 294.8 kB / 1.326 GB, free: 8.301 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009445/0.451, allocations: 457.4 kB / 1.326 GB, free: 7.852 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.4542, allocations: 1.607 MB / 1.328 GB, free: 6.238 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4542, allocations: 0 / 1.328 GB, free: 6.238 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4542, allocations: 0 / 1.328 GB, free: 6.238 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.213e-05/0.4543, allocations: 4 kB / 1.328 GB, free: 6.234 MB / 1.029 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.003522/0.4578, allocations: 1.56 MB / 1.33 GB, free: 4.633 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4578, allocations: 8.031 kB / 1.33 GB, free: 4.625 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/0.4614, allocations: 0.5931 MB / 1.33 GB, free: 4.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.4632, allocations: 0.7797 MB / 1.331 GB, free: 3.207 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.4632, allocations: 62.31 kB / 1.331 GB, free: 3.145 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.4634, allocations: 75.94 kB / 1.331 GB, free: 3.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.466, allocations: 1.111 MB / 1.332 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.466, allocations: 11.88 kB / 1.332 GB, free: 1.871 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.4661, allocations: 28 kB / 1.332 GB, free: 1.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4661, allocations: 16 kB / 1.332 GB, free: 1.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.4694, allocations: 1.016 MB / 1.333 GB, free: 0.8086 MB / 1.029 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.006104/0.4755, allocations: 4.134 MB / 1.337 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.4786, allocations: 0.8871 MB / 1.338 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.4801, allocations: 474 kB / 1.338 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.4808, allocations: 176.3 kB / 1.339 GB, free: 10.99 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/0.4825, allocations: 0.5845 MB / 1.339 GB, free: 10.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.4825, allocations: 0 / 1.339 GB, free: 10.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.004951/0.4875, allocations: 1.495 MB / 1.341 GB, free: 8.895 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4876, allocations: 63.91 kB / 1.341 GB, free: 8.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.489, allocations: 1.072 MB / 1.342 GB, free: 7.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.4891, allocations: 37.7 kB / 1.342 GB, free: 7.688 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/0.4897, allocations: 0.5707 MB / 1.342 GB, free: 7.109 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.4899, allocations: 226.2 kB / 1.343 GB, free: 6.887 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.4902, allocations: 158.6 kB / 1.343 GB, free: 6.727 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4904, allocations: 334 kB / 1.343 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.4919, allocations: 465.6 kB / 1.344 GB, free: 5.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.4938, allocations: 0.9426 MB / 1.344 GB, free: 4.828 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.4971, allocations: 1.137 MB / 1.346 GB, free: 3.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.4971, allocations: 4 kB / 1.346 GB, free: 3.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003957/0.5011, allocations: 1.285 MB / 1.347 GB, free: 2.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.5011, allocations: 11.94 kB / 1.347 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5011, allocations: 8 kB / 1.347 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/0.5012, allocations: 15.94 kB / 1.347 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5024, allocations: 267.8 kB / 1.347 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.5024, allocations: 19.94 kB / 1.347 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.5037, allocations: 167.4 kB / 1.347 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.5038, allocations: 47.97 kB / 1.347 GB, free: 1.758 MB / 1.045 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.0004958/0.5043, allocations: 292 kB / 1.348 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.5045, allocations: 123.2 kB / 1.348 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.5086, allocations: 1.435 MB / 1.349 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.5086, allocations: 11.98 kB / 1.349 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5086, allocations: 0 / 1.349 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5086, allocations: 7.984 kB / 1.349 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.514, allocations: 2.256 MB / 1.351 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.514, allocations: 0 / 1.351 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.5151, allocations: 199.9 kB / 1.352 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.5151, allocations: 8 kB / 1.352 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.5152, allocations: 23.97 kB / 1.352 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.5152, allocations: 4.094 kB / 1.352 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5152, allocations: 7.938 kB / 1.352 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/0.5207, allocations: 2.068 MB / 1.354 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.5212, allocations: 206.9 kB / 1.354 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.5214, allocations: 16 kB / 1.354 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/0.5223, allocations: 107.9 kB / 1.354 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.5224, allocations: 60.48 kB / 1.354 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.5225, allocations: 35.97 kB / 1.354 GB, free: 10.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001013/0.5235, allocations: 0.7265 MB / 1.355 GB, free: 10.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5235, allocations: 0 / 1.355 GB, free: 10.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00112/0.5247, allocations: 359.3 kB / 1.355 GB, free: 9.73 MB / 1.061 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.002209/0.5269, allocations: 0.6772 MB / 1.356 GB, free: 9.234 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003531/0.5304, allocations: 1.117 MB / 1.357 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5304, allocations: 3.938 kB / 1.357 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.5321, allocations: 0.5779 MB / 1.357 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.5339, allocations: 377.9 kB / 1.358 GB, free: 7.176 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.5392, allocations: 2.456 MB / 1.36 GB, free: 4.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.5398, allocations: 0.5214 MB / 1.361 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.5402, allocations: 119.2 kB / 1.361 GB, free: 3.992 MB / 1.061 GB Notification: Performance of SimCode: time 9.11e-07/0.5402, allocations: 0 / 1.361 GB, free: 3.992 MB / 1.061 GB Notification: Performance of Templates: time 0.0303/0.5705, allocations: 18.82 MB / 1.379 GB, free: 1.301 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 -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: 13.843961466103792]