Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001496/0.001496, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001394/0.001394, allocations: 218.3 kB / 22.25 MB, free: 5.125 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.959/2.959, allocations: 0.49 GB / 0.7951 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002165/0.002165, allocations: 68.61 kB / 1.154 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.375, allocations: 176.1 MB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05663/0.4316, allocations: 55.8 MB / 1.381 GB, free: 9.426 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.4474, allocations: 10.52 MB / 1.391 GB, free: 14.88 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.4495, allocations: 95.12 kB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.4519, allocations: 0.9241 MB / 1.392 GB, free: 13.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.4575, allocations: 2.08 MB / 1.394 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005179/0.4627, allocations: 2.07 MB / 1.396 GB, free: 9.699 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005275/0.468, allocations: 3.831 MB / 1.4 GB, free: 5.852 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.4698, allocations: 0.9903 MB / 1.401 GB, free: 4.828 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004654/0.4745, allocations: 1.988 MB / 1.403 GB, free: 2.832 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.4771, allocations: 1.272 MB / 1.404 GB, free: 1.555 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.4774, allocations: 104 kB / 1.404 GB, free: 1.453 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.4807, allocations: 1.38 MB / 1.406 GB, free: 72 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004912/0.4812, allocations: 394.3 kB / 1.406 GB, free: 15.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.4824, allocations: 0.8585 MB / 1.407 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00412/0.4865, allocations: 2.475 MB / 1.409 GB, free: 12.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4865, allocations: 0 / 1.409 GB, free: 12.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4865, allocations: 4 kB / 1.409 GB, free: 12.33 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.4865, allocations: 0 / 1.409 GB, free: 12.33 MB / 1.107 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.003847/0.4904, allocations: 2.13 MB / 1.411 GB, free: 10.15 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4904, allocations: 15.97 kB / 1.411 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.494, allocations: 0.6621 MB / 1.412 GB, free: 9.473 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.4962, allocations: 1.097 MB / 1.413 GB, free: 8.332 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/0.4962, allocations: 90.02 kB / 1.413 GB, free: 8.242 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.4964, allocations: 108 kB / 1.413 GB, free: 8.137 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/0.4994, allocations: 1.496 MB / 1.415 GB, free: 6.484 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.4994, allocations: 7.938 kB / 1.415 GB, free: 6.477 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-05/0.4995, allocations: 48 kB / 1.415 GB, free: 6.43 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.4996, allocations: 32 kB / 1.415 GB, free: 6.398 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003507/0.5031, allocations: 1.217 MB / 1.416 GB, free: 5.18 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009906/0.513, allocations: 8.32 MB / 1.424 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.5162, allocations: 1.057 MB / 1.425 GB, free: 11.19 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.5177, allocations: 0.5258 MB / 1.426 GB, free: 10.65 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009895/0.5187, allocations: 290.3 kB / 1.426 GB, free: 10.37 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.5205, allocations: 0.6839 MB / 1.427 GB, free: 9.676 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.905e-06/0.5205, allocations: 0 / 1.427 GB, free: 9.676 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.005327/0.5258, allocations: 1.795 MB / 1.428 GB, free: 7.875 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.5259, allocations: 64.39 kB / 1.428 GB, free: 7.801 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.528, allocations: 1.514 MB / 1.43 GB, free: 6.281 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.5281, allocations: 41.7 kB / 1.43 GB, free: 6.234 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/0.5288, allocations: 0.8117 MB / 1.431 GB, free: 5.414 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.5292, allocations: 313.4 kB / 1.431 GB, free: 5.105 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.5295, allocations: 218.8 kB / 1.431 GB, free: 4.887 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5297, allocations: 357.9 kB / 1.431 GB, free: 4.531 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.5312, allocations: 0.5178 MB / 1.432 GB, free: 4.012 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.5331, allocations: 0.907 MB / 1.433 GB, free: 2.941 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.5366, allocations: 1.41 MB / 1.434 GB, free: 1.379 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.5366, allocations: 4 kB / 1.434 GB, free: 1.375 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00423/0.5408, allocations: 1.613 MB / 1.436 GB, free: 15.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5409, allocations: 8 kB / 1.436 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.5409, allocations: 12 kB / 1.436 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.5409, allocations: 16 kB / 1.436 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.5423, allocations: 359.7 kB / 1.436 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.5423, allocations: 19.94 kB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.5438, allocations: 226.8 kB / 1.436 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.5439, allocations: 67.97 kB / 1.437 GB, free: 15.05 MB / 1.139 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.0006355/0.5446, allocations: 351.3 kB / 1.437 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.5449, allocations: 174.9 kB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.5498, allocations: 2.155 MB / 1.439 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-05/0.5498, allocations: 19.98 kB / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5499, allocations: 4 kB / 1.439 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.5499, allocations: 12 kB / 1.439 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006594/0.5565, allocations: 3.337 MB / 1.442 GB, free: 8.922 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5565, allocations: 3.938 kB / 1.442 GB, free: 8.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.5576, allocations: 247.8 kB / 1.443 GB, free: 8.676 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.5576, allocations: 4 kB / 1.443 GB, free: 8.672 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.258e-05/0.5577, allocations: 35.97 kB / 1.443 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-06/0.5577, allocations: 4 kB / 1.443 GB, free: 8.633 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/0.5577, allocations: 4 kB / 1.443 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006354/0.5641, allocations: 2.78 MB / 1.445 GB, free: 5.812 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008048/0.5649, allocations: 334.2 kB / 1.446 GB, free: 5.484 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.5651, allocations: 27.98 kB / 1.446 GB, free: 5.457 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.5662, allocations: 115.9 kB / 1.446 GB, free: 5.344 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5663, allocations: 80.84 kB / 1.446 GB, free: 5.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5664, allocations: 51.95 kB / 1.446 GB, free: 5.211 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001472/0.5679, allocations: 1.027 MB / 1.447 GB, free: 4.191 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5679, allocations: 0 / 1.447 GB, free: 4.191 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001589/0.5695, allocations: 0.5418 MB / 1.448 GB, free: 3.648 MB / 1.139 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 (113): * Single equations (assignments): 82 * 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.002256/0.5717, allocations: 0.8329 MB / 1.448 GB, free: 2.977 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003865/0.5756, allocations: 1.442 MB / 1.45 GB, free: 1.539 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5756, allocations: 0 / 1.45 GB, free: 1.539 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.5775, allocations: 0.7715 MB / 1.45 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/0.5806, allocations: 0.73 MB / 1.451 GB, free: 52 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.5866, allocations: 3.232 MB / 1.454 GB, free: 12.77 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009464/0.5875, allocations: 1.309 MB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001278/0.5888, allocations: 380.9 kB / 1.456 GB, free: 11.05 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.5892, allocations: 171.3 kB / 1.456 GB, free: 10.88 MB / 1.154 GB Notification: Performance of SimCode: time 6.91e-07/0.5892, allocations: 4 kB / 1.456 GB, free: 10.88 MB / 1.154 GB Notification: Performance of Templates: time 0.05929/0.6485, allocations: 33.58 MB / 1.489 GB, free: 9.781 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.467020662967116]