Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001924/0.001924, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002413/0.002413, allocations: 185.4 kB / 22.22 MB, free: 5.105 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.451/1.451, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 443.4 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 160.8 MB / 1.218 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03828/1.061, allocations: 29.84 MB / 1.248 GB, free: 9.344 MB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0132/1.074, allocations: 6.925 MB / 1.254 GB, free: 2.398 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/1.076, allocations: 67.38 kB / 1.254 GB, free: 2.332 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/1.078, allocations: 0.7109 MB / 1.255 GB, free: 1.617 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/1.083, allocations: 1.532 MB / 1.257 GB, free: 80 kB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.003624/1.087, allocations: 1.203 MB / 1.258 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004613/1.091, allocations: 2.516 MB / 1.26 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/1.093, allocations: 0.657 MB / 1.261 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/1.095, allocations: 1.07 MB / 1.262 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/1.097, allocations: 0.8714 MB / 1.263 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/1.097, allocations: 68 kB / 1.263 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/1.099, allocations: 0.8772 MB / 1.264 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/1.1, allocations: 286.8 kB / 1.264 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007196/1.1, allocations: 0.5514 MB / 1.265 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/1.103, allocations: 1.626 MB / 1.266 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.103, allocations: 0 / 1.266 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/1.103, allocations: 0 / 1.266 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.27e-05/1.103, allocations: 0 / 1.266 GB, free: 6.336 MB / 0.9669 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.00298/1.106, allocations: 1.611 MB / 1.268 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.106, allocations: 12.03 kB / 1.268 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/1.11, allocations: 0.5892 MB / 1.268 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/1.111, allocations: 0.8846 MB / 1.269 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/1.111, allocations: 58.31 kB / 1.269 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/1.112, allocations: 75.94 kB / 1.269 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/1.114, allocations: 1.1 MB / 1.27 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.114, allocations: 3.938 kB / 1.27 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/1.114, allocations: 32 kB / 1.27 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/1.114, allocations: 16 kB / 1.27 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/1.117, allocations: 1.004 MB / 1.271 GB, free: 0.7578 MB / 0.9669 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.006506/1.124, allocations: 4.951 MB / 1.276 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/1.126, allocations: 0.8645 MB / 1.277 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.128, allocations: 466 kB / 1.278 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/1.129, allocations: 1.591 MB / 1.279 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/1.131, allocations: 0.5759 MB / 1.28 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=61): time 3.527e-06/1.131, allocations: 0 / 1.28 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61): time 0.004722/1.136, allocations: 1.488 MB / 1.281 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.136, allocations: 55.91 kB / 1.281 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.137, allocations: 1.116 MB / 1.282 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/1.137, allocations: 41.7 kB / 1.282 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/1.138, allocations: 0.5559 MB / 1.283 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.138, allocations: 214.2 kB / 1.283 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/1.138, allocations: 166.6 kB / 1.283 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.139, allocations: 334 kB / 1.283 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/1.14, allocations: 453.6 kB / 1.284 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/1.142, allocations: 0.7089 MB / 1.285 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/1.145, allocations: 1.129 MB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.145, allocations: 4 kB / 1.286 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003641/1.148, allocations: 1.285 MB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.148, allocations: 8 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.148, allocations: 11.94 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/1.148, allocations: 12 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.15, allocations: 271.9 kB / 1.287 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/1.15, allocations: 15.94 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.151, allocations: 179.2 kB / 1.287 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.151, allocations: 47.97 kB / 1.287 GB, free: 15.32 MB / 0.9981 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.000562/1.151, allocations: 303.4 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/1.152, allocations: 131.1 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/1.155, allocations: 1.399 MB / 1.289 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/1.155, allocations: 15.98 kB / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.155, allocations: 0 / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.156, allocations: 7.984 kB / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005216/1.161, allocations: 2.41 MB / 1.292 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.161, allocations: 4 kB / 1.292 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.162, allocations: 191.8 kB / 1.292 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.162, allocations: 4 kB / 1.292 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/1.162, allocations: 23.98 kB / 1.292 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/1.162, allocations: 7.984 kB / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.162, allocations: 4 kB / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005187/1.167, allocations: 2.027 MB / 1.294 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/1.168, allocations: 284 kB / 1.294 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.168, allocations: 16 kB / 1.294 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/1.169, allocations: 107.9 kB / 1.294 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.169, allocations: 56.5 kB / 1.294 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/1.169, allocations: 35.97 kB / 1.294 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001004/1.17, allocations: 0.7638 MB / 1.295 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.17, allocations: 0 / 1.295 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001122/1.171, allocations: 347.4 kB / 1.295 GB, free: 7.055 MB / 0.9981 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.002073/1.173, allocations: 0.6699 MB / 1.296 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003325/1.176, allocations: 1.1 MB / 1.297 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.176, allocations: 0 / 1.297 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.178, allocations: 0.5506 MB / 1.298 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.18, allocations: 459.2 kB / 1.298 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/1.185, allocations: 2.403 MB / 1.3 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/1.186, allocations: 1.104 MB / 1.302 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008608/1.187, allocations: 244.8 kB / 1.302 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/1.187, allocations: 111.4 kB / 1.302 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.187, allocations: 0 / 1.302 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of Templates: time 0.03965/1.227, allocations: 20.7 MB / 1.322 GB, free: 12.07 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.93287731334567]