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.001866/0.001866, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002444/0.002444, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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 3.358/3.358, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 71.42 kB / 1.187 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06237/0.4454, allocations: 50.43 MB / 1.414 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.4633, allocations: 9.763 MB / 1.423 GB, free: 1.258 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.4657, allocations: 95.12 kB / 1.424 GB, free: 1.164 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.4687, allocations: 0.9047 MB / 1.424 GB, free: 260 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006648/0.4753, allocations: 2.072 MB / 1.426 GB, free: 14.17 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005872/0.4812, allocations: 2.019 MB / 1.428 GB, free: 12.15 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006027/0.4872, allocations: 3.804 MB / 1.432 GB, free: 8.336 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.4893, allocations: 0.9746 MB / 1.433 GB, free: 7.332 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.494, allocations: 1.988 MB / 1.435 GB, free: 5.336 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.4966, allocations: 1.198 MB / 1.436 GB, free: 4.133 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.497, allocations: 104 kB / 1.436 GB, free: 4.031 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.5, allocations: 1.041 MB / 1.437 GB, free: 2.988 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005848/0.5006, allocations: 406.3 kB / 1.438 GB, free: 2.59 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.5018, allocations: 0.7072 MB / 1.438 GB, free: 1.879 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.5068, allocations: 2.428 MB / 1.441 GB, free: 15.44 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5068, allocations: 0 / 1.441 GB, free: 15.44 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5068, allocations: 0 / 1.441 GB, free: 15.44 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.339e-05/0.5068, allocations: 4 kB / 1.441 GB, free: 15.43 MB / 1.139 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.00409/0.5109, allocations: 2.13 MB / 1.443 GB, free: 13.25 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.511, allocations: 8.031 kB / 1.443 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.5146, allocations: 0.6543 MB / 1.443 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.5172, allocations: 1.087 MB / 1.445 GB, free: 11.46 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.5173, allocations: 90.08 kB / 1.445 GB, free: 11.37 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.5175, allocations: 108 kB / 1.445 GB, free: 11.27 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/0.5209, allocations: 1.504 MB / 1.446 GB, free: 9.605 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.5209, allocations: 7.938 kB / 1.446 GB, free: 9.598 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.521, allocations: 44 kB / 1.446 GB, free: 9.555 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.5211, allocations: 28 kB / 1.446 GB, free: 9.527 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/0.5248, allocations: 1.237 MB / 1.447 GB, free: 8.293 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009394/0.5342, allocations: 6.417 MB / 1.454 GB, free: 1.656 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.5377, allocations: 1.055 MB / 1.455 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.5393, allocations: 0.5297 MB / 1.455 GB, free: 64 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.5404, allocations: 290.2 kB / 1.456 GB, free: 15.78 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001993/0.5423, allocations: 0.6802 MB / 1.456 GB, free: 15.09 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 6.803e-06/0.5424, allocations: 7.922 kB / 1.456 GB, free: 15.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.008216/0.5506, allocations: 1.803 MB / 1.458 GB, free: 13.28 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/0.5506, allocations: 64.41 kB / 1.458 GB, free: 13.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.5538, allocations: 1.4 MB / 1.459 GB, free: 11.78 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002715/0.5541, allocations: 49.7 kB / 1.459 GB, free: 11.73 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.5552, allocations: 0.8107 MB / 1.46 GB, free: 10.91 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005787/0.5558, allocations: 309.3 kB / 1.461 GB, free: 10.6 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005243/0.5563, allocations: 230.8 kB / 1.461 GB, free: 10.37 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.5565, allocations: 345.9 kB / 1.461 GB, free: 10.03 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.5589, allocations: 0.5256 MB / 1.462 GB, free: 9.5 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003068/0.5619, allocations: 1.145 MB / 1.463 GB, free: 8.141 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005302/0.5672, allocations: 1.422 MB / 1.464 GB, free: 6.566 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.5672, allocations: 4 kB / 1.464 GB, free: 6.562 MB / 1.154 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004877/0.5721, allocations: 1.609 MB / 1.466 GB, free: 4.941 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.5722, allocations: 10.5 kB / 1.466 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5722, allocations: 12 kB / 1.466 GB, free: 4.922 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.869e-05/0.5722, allocations: 16 kB / 1.466 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.5737, allocations: 351.8 kB / 1.466 GB, free: 4.562 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.213e-05/0.5738, allocations: 19.94 kB / 1.466 GB, free: 4.543 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.5755, allocations: 207.1 kB / 1.466 GB, free: 4.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.5756, allocations: 67.95 kB / 1.466 GB, free: 4.273 MB / 1.154 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.0007024/0.5763, allocations: 359.3 kB / 1.467 GB, free: 3.914 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.5767, allocations: 163 kB / 1.467 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005392/0.5821, allocations: 2.162 MB / 1.469 GB, free: 1.582 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.648e-05/0.5821, allocations: 27.92 kB / 1.469 GB, free: 1.555 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5822, allocations: 4 kB / 1.469 GB, free: 1.551 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.5822, allocations: 3.984 kB / 1.469 GB, free: 1.547 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007194/0.5894, allocations: 3.121 MB / 1.472 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.5894, allocations: 7.938 kB / 1.472 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.5906, allocations: 239.8 kB / 1.472 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.5906, allocations: 4 kB / 1.472 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.5907, allocations: 47.89 kB / 1.472 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5907, allocations: 8 kB / 1.472 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5907, allocations: 0 / 1.472 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/0.5976, allocations: 2.802 MB / 1.475 GB, free: 11.22 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/0.5986, allocations: 314.4 kB / 1.475 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.5988, allocations: 28.03 kB / 1.475 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.5999, allocations: 119.8 kB / 1.476 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.6001, allocations: 84.84 kB / 1.476 GB, free: 10.69 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.6002, allocations: 47.95 kB / 1.476 GB, free: 10.64 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001419/0.6016, allocations: 0.9404 MB / 1.477 GB, free: 9.703 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6016, allocations: 0 / 1.477 GB, free: 9.703 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001833/0.6034, allocations: 0.5651 MB / 1.477 GB, free: 9.137 MB / 1.17 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.002521/0.606, allocations: 0.8476 MB / 1.478 GB, free: 8.469 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004264/0.6102, allocations: 1.458 MB / 1.479 GB, free: 7.012 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6102, allocations: 0 / 1.479 GB, free: 7.012 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.6124, allocations: 0.787 MB / 1.48 GB, free: 6.223 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/0.6152, allocations: 0.6095 MB / 1.481 GB, free: 5.629 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006737/0.6219, allocations: 3.281 MB / 1.484 GB, free: 2.289 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.6227, allocations: 0.7267 MB / 1.485 GB, free: 1.531 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/0.6234, allocations: 171.3 kB / 1.485 GB, free: 1.363 MB / 1.17 GB Notification: Performance of SimCode: time 8.21e-07/0.6234, allocations: 4 kB / 1.485 GB, free: 1.359 MB / 1.17 GB Notification: Performance of Templates: time 0.04939/0.6728, allocations: 28.31 MB / 1.512 GB, free: 5.266 MB / 1.201 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/jenkins1/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: 16.039194600190967]