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.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.001529/0.001529, allocations: 116.7 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.001581/0.001581, allocations: 191.7 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.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.00196/0.00196, allocations: 71.88 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9409, allocations: 163.8 MB / 1.263 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05953/1, allocations: 54.56 MB / 1.316 GB, free: 1.156 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01744/1.018, allocations: 10.34 MB / 1.326 GB, free: 9.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/1.021, allocations: 68.12 kB / 1.326 GB, free: 9.746 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/1.024, allocations: 0.9037 MB / 1.327 GB, free: 9.266 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006444/1.031, allocations: 1.918 MB / 1.329 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006495/1.037, allocations: 2.079 MB / 1.331 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006818/1.044, allocations: 3.739 MB / 1.334 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/1.046, allocations: 1.17 MB / 1.336 GB, free: 4.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004926/1.051, allocations: 1.871 MB / 1.337 GB, free: 3.992 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/1.054, allocations: 1.195 MB / 1.339 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003126/1.054, allocations: 108.8 kB / 1.339 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/1.058, allocations: 1.283 MB / 1.34 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005183/1.059, allocations: 374.4 kB / 1.34 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/1.06, allocations: 0.8519 MB / 1.341 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005652/1.066, allocations: 2.462 MB / 1.344 GB, free: 1.301 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.066, allocations: 0 / 1.344 GB, free: 1.301 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/1.066, allocations: 1.219 kB / 1.344 GB, free: 1.301 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.642e-05/1.066, allocations: 0 / 1.344 GB, free: 1.301 MB / 1.045 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.004622/1.07, allocations: 2.191 MB / 1.346 GB, free: 15.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.071, allocations: 10.38 kB / 1.346 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/1.074, allocations: 0.6593 MB / 1.346 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/1.077, allocations: 1.198 MB / 1.348 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/1.077, allocations: 84.09 kB / 1.348 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.077, allocations: 109.7 kB / 1.348 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/1.081, allocations: 1.505 MB / 1.349 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/1.081, allocations: 7.125 kB / 1.349 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.081, allocations: 45.12 kB / 1.349 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/1.081, allocations: 28.41 kB / 1.349 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/1.084, allocations: 1.219 MB / 1.35 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/1.095, allocations: 8.376 MB / 1.359 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/1.099, allocations: 1.097 MB / 1.36 GB, free: 5.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/1.101, allocations: 0.557 MB / 1.36 GB, free: 5.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/1.103, allocations: 2.9 MB / 1.363 GB, free: 2.164 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/1.105, allocations: 0.675 MB / 1.364 GB, free: 1.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 3.667e-06/1.105, allocations: 0 / 1.364 GB, free: 1.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.005872/1.111, allocations: 1.797 MB / 1.366 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/1.111, allocations: 60.75 kB / 1.366 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/1.114, allocations: 1.488 MB / 1.367 GB, free: 88 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.114, allocations: 55.72 kB / 1.367 GB, free: 32 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/1.115, allocations: 0.7934 MB / 1.368 GB, free: 15.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/1.115, allocations: 313.1 kB / 1.368 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/1.115, allocations: 224.2 kB / 1.368 GB, free: 14.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.116, allocations: 346.9 kB / 1.369 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/1.117, allocations: 0.5193 MB / 1.369 GB, free: 14.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.119, allocations: 0.9037 MB / 1.37 GB, free: 13.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/1.123, allocations: 1.411 MB / 1.371 GB, free: 12.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.123, allocations: 7.188 kB / 1.371 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004653/1.128, allocations: 1.614 MB / 1.373 GB, free: 11.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.128, allocations: 14.53 kB / 1.373 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/1.128, allocations: 10.69 kB / 1.373 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/1.128, allocations: 16.75 kB / 1.373 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.129, allocations: 347.7 kB / 1.373 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/1.129, allocations: 20.94 kB / 1.373 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/1.131, allocations: 235.1 kB / 1.374 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.131, allocations: 63.94 kB / 1.374 GB, free: 11.56 MB / 1.076 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.000779/1.132, allocations: 344.8 kB / 1.374 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/1.133, allocations: 176.3 kB / 1.374 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/1.138, allocations: 2.087 MB / 1.376 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/1.138, allocations: 24.34 kB / 1.376 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.138, allocations: 3.938 kB / 1.376 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.138, allocations: 13.31 kB / 1.376 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/1.145, allocations: 3.301 MB / 1.38 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.146, allocations: 5.406 kB / 1.38 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.147, allocations: 227.9 kB / 1.38 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.147, allocations: 5.25 kB / 1.38 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/1.147, allocations: 41.03 kB / 1.38 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/1.147, allocations: 6.281 kB / 1.38 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.147, allocations: 1.156 kB / 1.38 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006686/1.154, allocations: 2.695 MB / 1.382 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009986/1.155, allocations: 395.8 kB / 1.383 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/1.155, allocations: 26.72 kB / 1.383 GB, free: 6.098 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.156, allocations: 114.1 kB / 1.383 GB, free: 6.047 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.156, allocations: 81.2 kB / 1.383 GB, free: 6.004 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.156, allocations: 50.45 kB / 1.383 GB, free: 5.984 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001623/1.158, allocations: 1.004 MB / 1.384 GB, free: 5.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.21e-07/1.158, allocations: 0 / 1.384 GB, free: 5.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002004/1.16, allocations: 0.5459 MB / 1.385 GB, free: 5.336 MB / 1.076 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 (110): * Single equations (assignments): 79 * 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.002569/1.163, allocations: 0.8459 MB / 1.385 GB, free: 4.926 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004243/1.167, allocations: 1.46 MB / 1.387 GB, free: 4.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.167, allocations: 0 / 1.387 GB, free: 4.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.169, allocations: 0.7975 MB / 1.388 GB, free: 3.906 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.172, allocations: 0.7329 MB / 1.388 GB, free: 3.504 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006188/1.179, allocations: 3.211 MB / 1.391 GB, free: 1.625 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/1.18, allocations: 1.299 MB / 1.393 GB, free: 0.668 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/1.18, allocations: 180.3 kB / 1.393 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of SimCode: time 8.61e-07/1.18, allocations: 0 / 1.393 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of Templates: time 0.04682/1.227, allocations: 28.9 MB / 1.421 GB, free: 4.656 MB / 1.107 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_2/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: 15.98439753986895]