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.001691/0.001691, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002084/0.002084, allocations: 220.9 kB / 22.26 MB, free: 5.125 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.996 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.904/2.904, allocations: 476.7 MB / 0.7706 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] 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.002114/0.002114, allocations: 64.88 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4042, allocations: 170 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03364/0.4379, allocations: 30.02 MB / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.4494, allocations: 7.027 MB / 1.32 GB, free: 6.051 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.451, allocations: 71.25 kB / 1.32 GB, free: 5.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.4528, allocations: 0.707 MB / 1.321 GB, free: 5.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.457, allocations: 1.587 MB / 1.322 GB, free: 3.676 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.4598, allocations: 1.108 MB / 1.323 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003622/0.4634, allocations: 2.535 MB / 1.326 GB, free: 24 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.4645, allocations: 0.6583 MB / 1.327 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.4666, allocations: 1.086 MB / 1.328 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.4678, allocations: 0.8675 MB / 1.328 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.468, allocations: 75.98 kB / 1.329 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4699, allocations: 0.8811 MB / 1.329 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.4702, allocations: 290.8 kB / 1.33 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.4708, allocations: 0.5553 MB / 1.33 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.4734, allocations: 1.638 MB / 1.332 GB, free: 9.949 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4734, allocations: 0 / 1.332 GB, free: 9.949 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4734, allocations: 0 / 1.332 GB, free: 9.949 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.4734, allocations: 0 / 1.332 GB, free: 9.949 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.002712/0.4761, allocations: 1.556 MB / 1.333 GB, free: 8.352 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4761, allocations: 12.03 kB / 1.333 GB, free: 8.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/0.4796, allocations: 0.5931 MB / 1.334 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.4811, allocations: 0.813 MB / 1.335 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.4812, allocations: 54.38 kB / 1.335 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.4813, allocations: 87.89 kB / 1.335 GB, free: 6.742 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.4837, allocations: 1.099 MB / 1.336 GB, free: 5.562 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4837, allocations: 3.938 kB / 1.336 GB, free: 5.559 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.4838, allocations: 32 kB / 1.336 GB, free: 5.527 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.4838, allocations: 20 kB / 1.336 GB, free: 5.508 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.4868, allocations: 1 MB / 1.337 GB, free: 4.508 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.006088/0.4929, allocations: 4.905 MB / 1.342 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.4962, allocations: 0.8758 MB / 1.343 GB, free: 14.44 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.4984, allocations: 466 kB / 1.343 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.4994, allocations: 172.3 kB / 1.343 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002473/0.5019, allocations: 0.5681 MB / 1.344 GB, free: 13.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 3.196e-06/0.5019, allocations: 0 / 1.344 GB, free: 13.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.007342/0.5092, allocations: 1.499 MB / 1.345 GB, free: 11.73 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.5093, allocations: 59.91 kB / 1.345 GB, free: 11.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.5116, allocations: 1.137 MB / 1.346 GB, free: 10.51 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5117, allocations: 41.7 kB / 1.346 GB, free: 10.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/0.5124, allocations: 0.5677 MB / 1.347 GB, free: 9.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.5127, allocations: 218.2 kB / 1.347 GB, free: 9.676 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.5131, allocations: 166.5 kB / 1.347 GB, free: 9.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.5133, allocations: 341.9 kB / 1.348 GB, free: 9.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.5155, allocations: 449.6 kB / 1.348 GB, free: 8.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.518, allocations: 0.7089 MB / 1.349 GB, free: 7.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004774/0.5228, allocations: 1.126 MB / 1.35 GB, free: 6.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.5228, allocations: 4 kB / 1.35 GB, free: 6.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005401/0.5282, allocations: 1.281 MB / 1.351 GB, free: 5.383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.5282, allocations: 10.66 kB / 1.351 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.5282, allocations: 11.98 kB / 1.351 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-05/0.5283, allocations: 12 kB / 1.351 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.5301, allocations: 267.9 kB / 1.351 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/0.5301, allocations: 19.92 kB / 1.351 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.532, allocations: 183.2 kB / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.5321, allocations: 47.97 kB / 1.352 GB, free: 4.844 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.0007797/0.5329, allocations: 299.5 kB / 1.352 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.5333, allocations: 131.1 kB / 1.352 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/0.539, allocations: 1.411 MB / 1.353 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.539, allocations: 12 kB / 1.353 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.539, allocations: 0 / 1.353 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.539, allocations: 7.984 kB / 1.353 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00804/0.5471, allocations: 2.398 MB / 1.356 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.5471, allocations: 4 kB / 1.356 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.5486, allocations: 191.8 kB / 1.356 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/0.5486, allocations: 7.984 kB / 1.356 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.5487, allocations: 19.98 kB / 1.356 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.5487, allocations: 8.078 kB / 1.356 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5488, allocations: 15.88 kB / 1.356 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007542/0.5563, allocations: 2.016 MB / 1.358 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/0.5572, allocations: 222.8 kB / 1.358 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.5574, allocations: 16 kB / 1.358 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.5587, allocations: 107.9 kB / 1.358 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.5589, allocations: 56.44 kB / 1.358 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.559, allocations: 35.97 kB / 1.358 GB, free: 13.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001503/0.5605, allocations: 0.7841 MB / 1.359 GB, free: 12.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5605, allocations: 0 / 1.359 GB, free: 12.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00174/0.5623, allocations: 359.3 kB / 1.36 GB, free: 12.64 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 (73): * Single equations (assignments): 58 * 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.002562/0.5648, allocations: 0.6393 MB / 1.36 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004027/0.5688, allocations: 1.096 MB / 1.361 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5688, allocations: 3.938 kB / 1.361 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.5707, allocations: 0.5584 MB / 1.362 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.5727, allocations: 455.1 kB / 1.362 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.5779, allocations: 2.411 MB / 1.365 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007804/0.5786, allocations: 1.112 MB / 1.366 GB, free: 6.465 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008564/0.5795, allocations: 260.7 kB / 1.366 GB, free: 6.207 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.5798, allocations: 107.4 kB / 1.366 GB, free: 6.102 MB / 1.061 GB Notification: Performance of SimCode: time 8.11e-07/0.5798, allocations: 0 / 1.366 GB, free: 6.102 MB / 1.061 GB Notification: Performance of Templates: time 0.03837/0.6182, allocations: 20.76 MB / 1.386 GB, free: 1.625 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/jenkins/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: 10.129699680954218]