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.001645/0.001645, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001825/0.001825, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.463/1.463, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002213/0.002213, allocations: 71.89 kB / 1.057 GB, free: 1.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3616, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03691/0.3985, allocations: 29.56 MB / 1.243 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.4108, allocations: 6.882 MB / 1.25 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.4125, allocations: 51.62 kB / 1.25 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.4145, allocations: 0.7109 MB / 1.25 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.4189, allocations: 1.509 MB / 1.252 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.4224, allocations: 1.16 MB / 1.253 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00416/0.4265, allocations: 2.485 MB / 1.255 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.4279, allocations: 0.6849 MB / 1.256 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.4302, allocations: 1.047 MB / 1.257 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.4317, allocations: 0.8636 MB / 1.258 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.4319, allocations: 71.94 kB / 1.258 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.4339, allocations: 0.8538 MB / 1.259 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.4343, allocations: 282.8 kB / 1.259 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007359/0.435, allocations: 0.5476 MB / 1.26 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.4379, allocations: 1.622 MB / 1.261 GB, free: 400 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4379, allocations: 3.938 kB / 1.261 GB, free: 396 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4379, allocations: 0 / 1.261 GB, free: 396 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.4379, allocations: 4 kB / 1.261 GB, free: 392 kB / 0.9981 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.7152/1.153, allocations: 1.602 MB / 1.263 GB, free: 51.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.153, allocations: 8.75 kB / 1.263 GB, free: 51.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/1.157, allocations: 0.5999 MB / 1.263 GB, free: 51.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/1.158, allocations: 0.8809 MB / 1.264 GB, free: 51.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/1.158, allocations: 58.44 kB / 1.264 GB, free: 51.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/1.158, allocations: 72.59 kB / 1.264 GB, free: 51.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/1.16, allocations: 1.096 MB / 1.266 GB, free: 51.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/1.161, allocations: 2.156 kB / 1.266 GB, free: 51.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.731e-05/1.161, allocations: 37.3 kB / 1.266 GB, free: 51.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/1.161, allocations: 17.28 kB / 1.266 GB, free: 51.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/1.164, allocations: 1.005 MB / 1.267 GB, free: 51.12 MB / 0.9981 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.005562/1.169, allocations: 4.944 MB / 1.271 GB, free: 48.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/1.172, allocations: 0.8639 MB / 1.272 GB, free: 47.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.174, allocations: 462.3 kB / 1.273 GB, free: 47.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.175, allocations: 1.589 MB / 1.274 GB, free: 46.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/1.177, allocations: 0.5723 MB / 1.275 GB, free: 46.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 3.065e-06/1.177, allocations: 0.9688 kB / 1.275 GB, free: 46.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.005355/1.182, allocations: 1.496 MB / 1.276 GB, free: 45.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.183, allocations: 59.05 kB / 1.276 GB, free: 45.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/1.184, allocations: 1.118 MB / 1.277 GB, free: 45.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/1.184, allocations: 39.7 kB / 1.277 GB, free: 45.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/1.185, allocations: 0.5494 MB / 1.278 GB, free: 45.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/1.185, allocations: 223.7 kB / 1.278 GB, free: 44.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/1.185, allocations: 168.9 kB / 1.278 GB, free: 44.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/1.185, allocations: 334.5 kB / 1.279 GB, free: 44.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.187, allocations: 450.4 kB / 1.279 GB, free: 44.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/1.189, allocations: 0.7203 MB / 1.28 GB, free: 43.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/1.192, allocations: 1.119 MB / 1.281 GB, free: 43.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.192, allocations: 2.875 kB / 1.281 GB, free: 43.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004322/1.196, allocations: 1.274 MB / 1.282 GB, free: 42.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/1.197, allocations: 9.062 kB / 1.282 GB, free: 42.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.197, allocations: 7.281 kB / 1.282 GB, free: 42.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.106e-05/1.197, allocations: 15.94 kB / 1.282 GB, free: 42.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.198, allocations: 272.1 kB / 1.282 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.692e-05/1.198, allocations: 18.03 kB / 1.282 GB, free: 42.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.199, allocations: 181.4 kB / 1.283 GB, free: 42.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.2, allocations: 44.16 kB / 1.283 GB, free: 42.87 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.0005827/1.2, allocations: 295.2 kB / 1.283 GB, free: 42.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/1.2, allocations: 124.1 kB / 1.283 GB, free: 42.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/1.205, allocations: 1.365 MB / 1.284 GB, free: 42.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.205, allocations: 12.98 kB / 1.284 GB, free: 42.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.205, allocations: 0.6562 kB / 1.284 GB, free: 42.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/1.205, allocations: 4.953 kB / 1.284 GB, free: 42.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/1.21, allocations: 2.386 MB / 1.287 GB, free: 41.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.21, allocations: 4.156 kB / 1.287 GB, free: 41.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.211, allocations: 185.8 kB / 1.287 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/1.211, allocations: 3.75 kB / 1.287 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/1.211, allocations: 26.64 kB / 1.287 GB, free: 41.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.211, allocations: 7.719 kB / 1.287 GB, free: 41.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.211, allocations: 6.062 kB / 1.287 GB, free: 41.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/1.216, allocations: 1.975 MB / 1.289 GB, free: 40.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/1.217, allocations: 285 kB / 1.289 GB, free: 40.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/1.217, allocations: 16.91 kB / 1.289 GB, free: 40.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/1.218, allocations: 111.2 kB / 1.289 GB, free: 40.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.218, allocations: 52.45 kB / 1.289 GB, free: 40.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/1.218, allocations: 36.98 kB / 1.289 GB, free: 40.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001101/1.219, allocations: 0.7633 MB / 1.29 GB, free: 39.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.219, allocations: 0 / 1.29 GB, free: 39.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001264/1.22, allocations: 351.1 kB / 1.29 GB, free: 39.75 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 (70): * Single equations (assignments): 55 * 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.002053/1.222, allocations: 0.6624 MB / 1.291 GB, free: 39.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003579/1.226, allocations: 1.08 MB / 1.292 GB, free: 39.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.226, allocations: 0 / 1.292 GB, free: 39.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/1.228, allocations: 0.5435 MB / 1.293 GB, free: 39.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.23, allocations: 455.1 kB / 1.293 GB, free: 38.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/1.235, allocations: 2.424 MB / 1.295 GB, free: 37.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.235, allocations: 1.101 MB / 1.297 GB, free: 37.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/1.236, allocations: 125.6 kB / 1.297 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.236, allocations: 0 / 1.297 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of Templates: time 0.03543/1.271, allocations: 19.21 MB / 1.315 GB, free: 30.79 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.49272551201284]