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.002012/0.002012, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.002515/0.002515, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.683/2.683, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 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.001957/0.001958, allocations: 59.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3799, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03583/0.4158, allocations: 29.34 MB / 1.205 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.4278, allocations: 6.874 MB / 1.211 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.4297, allocations: 47.69 kB / 1.211 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.432, allocations: 0.6914 MB / 1.212 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.4367, allocations: 1.457 MB / 1.213 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.4402, allocations: 1.157 MB / 1.215 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004256/0.4445, allocations: 2.477 MB / 1.217 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.446, allocations: 0.7865 MB / 1.218 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.4484, allocations: 1.012 MB / 1.219 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.4499, allocations: 0.8169 MB / 1.219 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.4501, allocations: 68 kB / 1.22 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.4522, allocations: 0.8187 MB / 1.22 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.4526, allocations: 275 kB / 1.221 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007492/0.4534, allocations: 0.5515 MB / 1.221 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.4562, allocations: 1.63 MB / 1.223 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4562, allocations: 3.938 kB / 1.223 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4562, allocations: 0 / 1.223 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.4562, allocations: 0 / 1.223 GB, free: 5.695 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.002865/0.4591, allocations: 1.612 MB / 1.224 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4592, allocations: 11.97 kB / 1.224 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.4627, allocations: 0.5931 MB / 1.225 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.4643, allocations: 0.873 MB / 1.226 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.4644, allocations: 54.38 kB / 1.226 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.4646, allocations: 83.94 kB / 1.226 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.4672, allocations: 1.096 MB / 1.227 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.4672, allocations: 0 / 1.227 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.078e-05/0.4673, allocations: 32 kB / 1.227 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.4673, allocations: 24 kB / 1.227 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.4705, allocations: 0.9962 MB / 1.228 GB, free: 132 kB / 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.006736/0.4773, allocations: 4.952 MB / 1.233 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.4805, allocations: 0.9089 MB / 1.234 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.482, allocations: 486.1 kB / 1.234 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.4836, allocations: 1.6 MB / 1.236 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00177/0.4854, allocations: 0.5689 MB / 1.236 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=61): time 3.066e-06/0.4854, allocations: 0 / 1.236 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61): time 0.005125/0.4906, allocations: 1.497 MB / 1.238 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.4906, allocations: 55.97 kB / 1.238 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.4922, allocations: 1.112 MB / 1.239 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.4923, allocations: 41.7 kB / 1.239 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/0.4929, allocations: 0.5482 MB / 1.239 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.4931, allocations: 226.1 kB / 1.24 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.4934, allocations: 158.6 kB / 1.24 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4936, allocations: 342 kB / 1.24 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.4952, allocations: 449.6 kB / 1.241 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.497, allocations: 0.7088 MB / 1.241 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.5003, allocations: 1.12 MB / 1.242 GB, free: 468 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.5003, allocations: 4 kB / 1.242 GB, free: 464 kB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003932/0.5043, allocations: 1.287 MB / 1.244 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.5043, allocations: 12.19 kB / 1.244 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.5043, allocations: 12 kB / 1.244 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.5044, allocations: 12 kB / 1.244 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.5056, allocations: 263.6 kB / 1.244 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.5056, allocations: 15.94 kB / 1.244 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5069, allocations: 183.3 kB / 1.244 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.5071, allocations: 47.97 kB / 1.244 GB, free: 14.62 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.0005511/0.5076, allocations: 295.7 kB / 1.244 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.5079, allocations: 131.2 kB / 1.245 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.5119, allocations: 1.367 MB / 1.246 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.512, allocations: 11.98 kB / 1.246 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.512, allocations: 0 / 1.246 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.512, allocations: 3.984 kB / 1.246 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/0.5174, allocations: 2.386 MB / 1.248 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.5175, allocations: 0 / 1.248 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5185, allocations: 187.9 kB / 1.248 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.5185, allocations: 4 kB / 1.248 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.5186, allocations: 27.97 kB / 1.248 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.5186, allocations: 4 kB / 1.248 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5186, allocations: 7.938 kB / 1.248 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.5241, allocations: 1.982 MB / 1.25 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.5247, allocations: 276.1 kB / 1.251 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.5249, allocations: 23.98 kB / 1.251 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009189/0.5258, allocations: 103.9 kB / 1.251 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.526, allocations: 56.38 kB / 1.251 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.5261, allocations: 31.97 kB / 1.251 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001038/0.5271, allocations: 0.7638 MB / 1.252 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5271, allocations: 0 / 1.252 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001145/0.5283, allocations: 355.3 kB / 1.252 GB, free: 6.48 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.002127/0.5304, allocations: 0.6594 MB / 1.253 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.534, allocations: 1.114 MB / 1.254 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.359e-05/0.534, allocations: 0 / 1.254 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.5358, allocations: 0.5775 MB / 1.254 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.538, allocations: 447.5 kB / 1.255 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.5432, allocations: 2.407 MB / 1.257 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.544, allocations: 1.1 MB / 1.258 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.5445, allocations: 123.3 kB / 1.258 GB, free: 164 kB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.5445, allocations: 0 / 1.258 GB, free: 164 kB / 0.9981 GB Notification: Performance of Templates: time 0.6432/1.188, allocations: 19.14 MB / 1.277 GB, free: 78.14 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.307972130016424]