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.001447/0.001447, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001701/0.001701, allocations: 161.7 kB / 22.76 MB, free: 1.684 MB / 18.57 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.501/1.501, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 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 3.431/3.431, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.964e-06/1.964e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.334e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.07345/0.07349, allocations: 49.98 MB / 0.9265 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.0931, allocations: 9.721 MB / 0.9359 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.09594, allocations: 91.19 kB / 0.936 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.09888, allocations: 0.916 MB / 0.9369 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.008514/0.1074, allocations: 2.132 MB / 0.939 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007225/0.1146, allocations: 2.103 MB / 0.9411 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.007394/0.122, allocations: 3.775 MB / 0.9447 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.125, allocations: 0.9881 MB / 0.9457 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008527/0.1335, allocations: 2.433 MB / 0.9481 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.1373, allocations: 1.063 MB / 0.9491 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0007454/0.138, allocations: 104 kB / 0.9492 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004876/0.1429, allocations: 1.056 MB / 0.9503 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.1439, allocations: 414.2 kB / 0.9507 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.1461, allocations: 0.5727 MB / 0.9512 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.007241/0.1534, allocations: 2.426 MB / 0.9536 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1534, allocations: 0 / 0.9536 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1534, allocations: 0 / 0.9536 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001233/0.1535, allocations: 4 kB / 0.9536 GB, free: 8.441 MB / 0.9167 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.00678/0.1603, allocations: 2.091 MB / 0.9556 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.1603, allocations: 12.02 kB / 0.9556 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/0.1645, allocations: 0.748 MB / 0.9564 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.1672, allocations: 1.134 MB / 0.9575 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1673, allocations: 82.14 kB / 0.9576 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.1675, allocations: 108 kB / 0.9577 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.1712, allocations: 1.511 MB / 0.9591 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.1712, allocations: 7.938 kB / 0.9591 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.1713, allocations: 44 kB / 0.9592 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.1714, allocations: 32 kB / 0.9592 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.1752, allocations: 1.229 MB / 0.9604 GB, free: 1.188 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.1868, allocations: 6.43 MB / 0.9667 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.1905, allocations: 1.071 MB / 0.9677 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.1923, allocations: 0.5337 MB / 0.9683 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/0.1935, allocations: 281.2 kB / 0.9685 GB, free: 8.652 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/0.1956, allocations: 0.6839 MB / 0.9692 GB, free: 7.961 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=85): time 5.34e-06/0.1956, allocations: 0 / 0.9692 GB, free: 7.961 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85): time 0.006174/0.2018, allocations: 1.834 MB / 0.971 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.2019, allocations: 64.41 kB / 0.971 GB, free: 6.047 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/0.2047, allocations: 1.395 MB / 0.9724 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.2048, allocations: 41.7 kB / 0.9725 GB, free: 4.59 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009789/0.2058, allocations: 0.7989 MB / 0.9732 GB, free: 3.781 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/0.2062, allocations: 309.4 kB / 0.9735 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004598/0.2067, allocations: 226.8 kB / 0.9737 GB, free: 3.246 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002437/0.2069, allocations: 353.9 kB / 0.9741 GB, free: 2.895 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.2087, allocations: 0.5178 MB / 0.9746 GB, free: 2.379 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/0.2113, allocations: 1.129 MB / 0.9757 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.2153, allocations: 1.434 MB / 0.9771 GB, free: 15.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.2153, allocations: 0 / 0.9771 GB, free: 15.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.005183/0.2205, allocations: 1.671 MB / 0.9787 GB, free: 13.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2206, allocations: 8 kB / 0.9787 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.2206, allocations: 16 kB / 0.9787 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.864e-05/0.2206, allocations: 16 kB / 0.9788 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.2221, allocations: 348.1 kB / 0.9791 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.789e-05/0.2222, allocations: 23.92 kB / 0.9791 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.224, allocations: 211 kB / 0.9793 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.2242, allocations: 67.95 kB / 0.9794 GB, free: 13.08 MB / 0.948 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.0009253/0.2251, allocations: 343.3 kB / 0.9797 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/0.2258, allocations: 187 kB / 0.9799 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006252/0.232, allocations: 2.173 MB / 0.982 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/0.2321, allocations: 27.92 kB / 0.982 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.2321, allocations: 0 / 0.982 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.2321, allocations: 3.984 kB / 0.982 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008244/0.2403, allocations: 3.118 MB / 0.9851 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.2404, allocations: 3.938 kB / 0.9851 GB, free: 7.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.2416, allocations: 239.7 kB / 0.9853 GB, free: 6.926 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.39e-05/0.2416, allocations: 4 kB / 0.9853 GB, free: 6.922 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.2418, allocations: 35.97 kB / 0.9854 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/0.2418, allocations: 8 kB / 0.9854 GB, free: 6.879 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.2418, allocations: 3.938 kB / 0.9854 GB, free: 6.875 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007751/0.2495, allocations: 2.849 MB / 0.9881 GB, free: 3.988 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.2506, allocations: 306.4 kB / 0.9884 GB, free: 3.688 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004374/0.2511, allocations: 24.09 kB / 0.9885 GB, free: 3.664 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.2524, allocations: 119.9 kB / 0.9886 GB, free: 3.547 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.2527, allocations: 92.77 kB / 0.9887 GB, free: 3.453 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.2528, allocations: 47.97 kB / 0.9887 GB, free: 3.406 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002285/0.2551, allocations: 0.9282 MB / 0.9896 GB, free: 2.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2551, allocations: 4 kB / 0.9896 GB, free: 2.477 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002709/0.2578, allocations: 0.5612 MB / 0.9902 GB, free: 1.914 MB / 0.948 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.003775/0.2616, allocations: 0.8689 MB / 0.991 GB, free: 1.227 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00502/0.2666, allocations: 1.45 MB / 0.9924 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.2666, allocations: 0 / 0.9924 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.2691, allocations: 0.7832 MB / 0.9932 GB, free: 15 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/0.2728, allocations: 0.6223 MB / 0.9938 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/0.2812, allocations: 3.169 MB / 0.9969 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.2826, allocations: 0.7303 MB / 0.9976 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002042/0.2846, allocations: 347.2 kB / 0.9979 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/0.2853, allocations: 156.4 kB / 0.9981 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of SimCode: time 3.196e-06/0.2853, allocations: 0 / 0.9981 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of Templates: time 0.06405/0.3494, allocations: 30.13 MB / 1.028 GB, free: 12.4 MB / 0.9948 GB " [Timeout remaining time 300] 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.19728937302716]