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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 190.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.99/2.99, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8665, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03598/0.9025, allocations: 29.82 MB / 1.303 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.915, allocations: 6.929 MB / 1.31 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.9166, allocations: 47.62 kB / 1.31 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.9187, allocations: 0.7109 MB / 1.311 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.9233, allocations: 1.509 MB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.9269, allocations: 1.172 MB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004182/0.931, allocations: 2.496 MB / 1.316 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.9328, allocations: 0.6485 MB / 1.316 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003055/0.9359, allocations: 1.047 MB / 1.317 GB, free: 8.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.9377, allocations: 0.8636 MB / 1.318 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.938, allocations: 71.94 kB / 1.318 GB, free: 7.113 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.9403, allocations: 0.8538 MB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004314/0.9407, allocations: 282.8 kB / 1.319 GB, free: 5.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009213/0.9417, allocations: 0.5514 MB / 1.32 GB, free: 5.426 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.945, allocations: 1.63 MB / 1.322 GB, free: 3.789 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.945, allocations: 0 / 1.322 GB, free: 3.789 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/0.945, allocations: 0 / 1.322 GB, free: 3.789 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.412e-05/0.945, allocations: 0 / 1.322 GB, free: 3.789 MB / 1.014 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.9485, allocations: 1.604 MB / 1.323 GB, free: 2.125 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9486, allocations: 12.03 kB / 1.323 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.9523, allocations: 0.5931 MB / 1.324 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.9543, allocations: 0.8808 MB / 1.325 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.9544, allocations: 54.38 kB / 1.325 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.9546, allocations: 79.88 kB / 1.325 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.9573, allocations: 1.103 MB / 1.326 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.9574, allocations: 7.938 kB / 1.326 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.9575, allocations: 31.98 kB / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.9575, allocations: 16 kB / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.9609, allocations: 1 MB / 1.327 GB, free: 14.21 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.007025/0.9679, allocations: 4.955 MB / 1.332 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.9711, allocations: 0.8645 MB / 1.332 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.9726, allocations: 472.8 kB / 1.333 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.9744, allocations: 1.591 MB / 1.335 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/0.9762, allocations: 0.5728 MB / 1.335 GB, free: 5.105 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 3.246e-06/0.9762, allocations: 0 / 1.335 GB, free: 5.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.005317/0.9815, allocations: 1.497 MB / 1.337 GB, free: 3.605 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.9816, allocations: 55.97 kB / 1.337 GB, free: 3.539 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.9834, allocations: 1.112 MB / 1.338 GB, free: 2.414 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.9835, allocations: 49.69 kB / 1.338 GB, free: 2.359 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005463/0.984, allocations: 0.552 MB / 1.338 GB, free: 1.805 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.9842, allocations: 218.2 kB / 1.338 GB, free: 1.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.9846, allocations: 166.5 kB / 1.339 GB, free: 1.422 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.9847, allocations: 337.9 kB / 1.339 GB, free: 1.086 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.9863, allocations: 445.6 kB / 1.339 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.9882, allocations: 0.7127 MB / 1.34 GB, free: 15.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.9915, allocations: 1.12 MB / 1.341 GB, free: 14.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.9915, allocations: 4 kB / 1.341 GB, free: 14.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00399/0.9955, allocations: 1.275 MB / 1.342 GB, free: 13.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.9955, allocations: 8 kB / 1.342 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.9955, allocations: 8 kB / 1.342 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/0.9955, allocations: 12 kB / 1.342 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9968, allocations: 280.1 kB / 1.343 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/0.9969, allocations: 19.92 kB / 1.343 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.9982, allocations: 179.2 kB / 1.343 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.9983, allocations: 55.97 kB / 1.343 GB, free: 12.75 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.0005749/0.9989, allocations: 287.8 kB / 1.343 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.9992, allocations: 131.1 kB / 1.343 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/1.003, allocations: 1.379 MB / 1.345 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/1.003, allocations: 8 kB / 1.345 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.003, allocations: 4 kB / 1.345 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.003, allocations: 7.922 kB / 1.345 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/1.009, allocations: 2.401 MB / 1.347 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.009, allocations: 0 / 1.347 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.01, allocations: 191.9 kB / 1.347 GB, free: 8.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/1.01, allocations: 4.094 kB / 1.347 GB, free: 8.262 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/1.01, allocations: 27.91 kB / 1.347 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.01, allocations: 8 kB / 1.347 GB, free: 8.227 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.01, allocations: 7.938 kB / 1.347 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/1.016, allocations: 2 MB / 1.349 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/1.017, allocations: 284 kB / 1.35 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.017, allocations: 19.98 kB / 1.35 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.018, allocations: 103.9 kB / 1.35 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.018, allocations: 56.38 kB / 1.35 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/1.018, allocations: 35.97 kB / 1.35 GB, free: 5.676 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001172/1.019, allocations: 0.7677 MB / 1.35 GB, free: 4.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.019, allocations: 0 / 1.35 GB, free: 4.902 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001212/1.02, allocations: 347.4 kB / 1.351 GB, free: 4.562 MB / 1.045 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.002278/1.023, allocations: 0.6682 MB / 1.351 GB, free: 4.062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003721/1.026, allocations: 1.083 MB / 1.353 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.026, allocations: 0 / 1.353 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.028, allocations: 0.554 MB / 1.353 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.031, allocations: 448.3 kB / 1.353 GB, free: 2 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/1.036, allocations: 2.398 MB / 1.356 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009232/1.037, allocations: 1.118 MB / 1.357 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009677/1.038, allocations: 240.8 kB / 1.357 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.038, allocations: 107.4 kB / 1.357 GB, free: 14.06 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/1.038, allocations: 0 / 1.357 GB, free: 14.06 MB / 1.061 GB Notification: Performance of Templates: time 0.04052/1.079, allocations: 20.47 MB / 1.377 GB, free: 9.875 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 cvode -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_2/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.841623147949576]