Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001975/0.001975, allocations: 80.45 kB / 19.18 MB, free: 2.52 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.002389/0.002389, allocations: 160.8 kB / 22.45 MB, free: 5.375 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.487/1.487, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.934/2.934, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.311e-05, allocations: 6.219 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06001/0.06005, allocations: 49.98 MB / 1.049 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.07887, allocations: 9.701 MB / 1.058 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.08193, allocations: 91.19 kB / 1.059 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.08474, allocations: 0.9199 MB / 1.059 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.0928, allocations: 2.116 MB / 1.062 GB, free: 8.215 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006811/0.09961, allocations: 2.118 MB / 1.064 GB, free: 6.094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006542/0.1062, allocations: 3.767 MB / 1.067 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.1081, allocations: 0.9447 MB / 1.068 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005694/0.1138, allocations: 2.437 MB / 1.071 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.1158, allocations: 1.059 MB / 1.072 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.116, allocations: 108 kB / 1.072 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.1189, allocations: 1.048 MB / 1.073 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004983/0.1194, allocations: 414.2 kB / 1.073 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009071/0.1203, allocations: 0.5688 MB / 1.074 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.1246, allocations: 2.43 MB / 1.076 GB, free: 9.262 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1246, allocations: 0 / 1.076 GB, free: 9.262 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.345e-06/0.1246, allocations: 0 / 1.076 GB, free: 9.262 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.1246, allocations: 0 / 1.076 GB, free: 9.262 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003907/0.1285, allocations: 2.098 MB / 1.078 GB, free: 7.113 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1286, allocations: 12.03 kB / 1.078 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/0.1324, allocations: 0.6543 MB / 1.079 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.1346, allocations: 1.072 MB / 1.08 GB, free: 5.328 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.1347, allocations: 82.14 kB / 1.08 GB, free: 5.246 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.1349, allocations: 108 kB / 1.08 GB, free: 5.141 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.1382, allocations: 1.511 MB / 1.081 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.1382, allocations: 7.938 kB / 1.081 GB, free: 3.465 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.1383, allocations: 48 kB / 1.082 GB, free: 3.418 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.1384, allocations: 28 kB / 1.082 GB, free: 3.391 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.1421, allocations: 1.237 MB / 1.083 GB, free: 2.152 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008876/0.151, allocations: 6.38 MB / 1.089 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.1546, allocations: 1.072 MB / 1.09 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.1563, allocations: 0.5297 MB / 1.091 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.1573, allocations: 281.2 kB / 1.091 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/0.1593, allocations: 0.6879 MB / 1.091 GB, free: 8.965 MB / 1.045 GB Notification: Performance of pre-optimization done (n=85): time 3.376e-06/0.1593, allocations: 0 / 1.091 GB, free: 8.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=85): time 0.005822/0.1651, allocations: 1.807 MB / 1.093 GB, free: 7.152 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1652, allocations: 60.41 kB / 1.093 GB, free: 7.082 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.1673, allocations: 1.391 MB / 1.095 GB, free: 5.676 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.1674, allocations: 45.7 kB / 1.095 GB, free: 5.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008585/0.1683, allocations: 0.8067 MB / 1.095 GB, free: 4.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.1687, allocations: 309.3 kB / 1.096 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/0.1691, allocations: 222.8 kB / 1.096 GB, free: 4.281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1693, allocations: 341.9 kB / 1.096 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.1711, allocations: 0.5334 MB / 1.097 GB, free: 3.406 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.1734, allocations: 1.133 MB / 1.098 GB, free: 2.055 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.1774, allocations: 1.43 MB / 1.099 GB, free: 488 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.1774, allocations: 4 kB / 1.099 GB, free: 484 kB / 1.045 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004901/0.1823, allocations: 1.609 MB / 1.101 GB, free: 14.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.1824, allocations: 11.94 kB / 1.101 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.1824, allocations: 12 kB / 1.101 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.127e-05/0.1824, allocations: 16 kB / 1.101 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.1839, allocations: 352 kB / 1.101 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.394e-05/0.184, allocations: 19.94 kB / 1.101 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.1856, allocations: 211.1 kB / 1.102 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.1858, allocations: 67.97 kB / 1.102 GB, free: 14.18 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0007886/0.1866, allocations: 355.8 kB / 1.102 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/0.187, allocations: 162.9 kB / 1.102 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/0.1928, allocations: 2.165 MB / 1.104 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/0.1929, allocations: 23.98 kB / 1.104 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1929, allocations: 0 / 1.104 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.1929, allocations: 7.969 kB / 1.104 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007566/0.2005, allocations: 3.117 MB / 1.107 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.2005, allocations: 8.188 kB / 1.107 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.2017, allocations: 235.7 kB / 1.107 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-05/0.2018, allocations: 8 kB / 1.107 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.2019, allocations: 31.97 kB / 1.108 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.2019, allocations: 11.98 kB / 1.108 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2019, allocations: 3.938 kB / 1.108 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007122/0.209, allocations: 2.81 MB / 1.11 GB, free: 5.137 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/0.2098, allocations: 310.4 kB / 1.111 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.2101, allocations: 20 kB / 1.111 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.2114, allocations: 127.8 kB / 1.111 GB, free: 4.688 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.2116, allocations: 88.72 kB / 1.111 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.2117, allocations: 51.95 kB / 1.111 GB, free: 4.547 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001597/0.2133, allocations: 0.9243 MB / 1.112 GB, free: 3.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2133, allocations: 4 kB / 1.112 GB, free: 3.621 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002091/0.2154, allocations: 0.5651 MB / 1.112 GB, free: 3.055 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.002777/0.2182, allocations: 0.8726 MB / 1.113 GB, free: 2.363 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004429/0.2226, allocations: 1.454 MB / 1.115 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2226, allocations: 0 / 1.115 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.2249, allocations: 0.7793 MB / 1.115 GB, free: 136 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.2282, allocations: 0.577 MB / 1.116 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007938/0.2362, allocations: 3.127 MB / 1.119 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.2376, allocations: 0.7264 MB / 1.12 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001953/0.2396, allocations: 347.1 kB / 1.12 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.2403, allocations: 164.3 kB / 1.12 GB, free: 11.12 MB / 1.076 GB Notification: Performance of SimCode: time 2.164e-06/0.2403, allocations: 0 / 1.12 GB, free: 11.12 MB / 1.076 GB Notification: Performance of Templates: time 0.5856/0.8259, allocations: 29.91 MB / 1.149 GB, free: 165.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.23075781390071]