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.001474/0.001474, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001645/0.001645, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 179] 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.952/2.952, allocations: 0.49 GB / 0.7958 GB, free: 33.3 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.001937/0.001937, allocations: 67.33 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3108, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05546/0.3663, allocations: 55.8 MB / 1.382 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.3816, allocations: 10.51 MB / 1.392 GB, free: 14.94 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.3833, allocations: 95.12 kB / 1.392 GB, free: 14.85 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.3855, allocations: 0.9125 MB / 1.393 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.3904, allocations: 2.083 MB / 1.395 GB, free: 11.84 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.3952, allocations: 2.083 MB / 1.397 GB, free: 9.75 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004886/0.4, allocations: 3.839 MB / 1.401 GB, free: 5.895 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.4015, allocations: 0.9825 MB / 1.402 GB, free: 4.879 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.4052, allocations: 1.988 MB / 1.404 GB, free: 2.883 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.407, allocations: 1.264 MB / 1.405 GB, free: 1.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.4072, allocations: 108 kB / 1.405 GB, free: 1.508 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.41, allocations: 1.376 MB / 1.406 GB, free: 132 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.4104, allocations: 402.3 kB / 1.407 GB, free: 15.73 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.0009135/0.4113, allocations: 0.8547 MB / 1.408 GB, free: 14.87 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.4149, allocations: 2.475 MB / 1.41 GB, free: 12.39 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4149, allocations: 0 / 1.41 GB, free: 12.39 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4149, allocations: 0 / 1.41 GB, free: 12.39 MB / 1.108 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.4149, allocations: 0 / 1.41 GB, free: 12.39 MB / 1.108 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.003436/0.4184, allocations: 2.133 MB / 1.412 GB, free: 10.21 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4184, allocations: 16.02 kB / 1.412 GB, free: 10.19 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/0.4218, allocations: 0.666 MB / 1.413 GB, free: 9.523 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.4238, allocations: 1.097 MB / 1.414 GB, free: 8.383 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.4239, allocations: 86.08 kB / 1.414 GB, free: 8.297 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.4241, allocations: 112 kB / 1.414 GB, free: 8.188 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.4269, allocations: 1.488 MB / 1.415 GB, free: 6.543 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.4269, allocations: 11.92 kB / 1.415 GB, free: 6.531 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.427, allocations: 48 kB / 1.415 GB, free: 6.484 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.4271, allocations: 28 kB / 1.415 GB, free: 6.457 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003233/0.4303, allocations: 1.221 MB / 1.417 GB, free: 5.234 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008958/0.4392, allocations: 8.324 MB / 1.425 GB, free: 12.3 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/0.4423, allocations: 1.061 MB / 1.426 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4438, allocations: 0.5296 MB / 1.426 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009397/0.4447, allocations: 290.3 kB / 1.427 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/0.4464, allocations: 0.6761 MB / 1.427 GB, free: 9.727 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.595e-06/0.4464, allocations: 0 / 1.427 GB, free: 9.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.005063/0.4515, allocations: 1.799 MB / 1.429 GB, free: 7.922 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.4516, allocations: 64.34 kB / 1.429 GB, free: 7.848 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.4535, allocations: 1.514 MB / 1.431 GB, free: 6.328 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.244e-05/0.4536, allocations: 45.7 kB / 1.431 GB, free: 6.277 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/0.4542, allocations: 0.8039 MB / 1.431 GB, free: 5.465 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.4545, allocations: 313.4 kB / 1.432 GB, free: 5.156 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.4548, allocations: 226.8 kB / 1.432 GB, free: 4.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.455, allocations: 353.8 kB / 1.432 GB, free: 4.578 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4565, allocations: 0.5256 MB / 1.433 GB, free: 4.051 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.4583, allocations: 0.8915 MB / 1.434 GB, free: 2.996 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.4616, allocations: 1.418 MB / 1.435 GB, free: 1.426 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4616, allocations: 0 / 1.435 GB, free: 1.426 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004089/0.4657, allocations: 1.612 MB / 1.437 GB, free: 15.8 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4657, allocations: 12.95 kB / 1.437 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.4657, allocations: 12 kB / 1.437 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/0.4658, allocations: 16 kB / 1.437 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.4671, allocations: 347.5 kB / 1.437 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.4672, allocations: 23.92 kB / 1.437 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.4686, allocations: 234.8 kB / 1.437 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.4687, allocations: 63.97 kB / 1.437 GB, free: 15.11 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.0005739/0.4693, allocations: 343.3 kB / 1.438 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.4695, allocations: 178.9 kB / 1.438 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/0.4744, allocations: 2.163 MB / 1.44 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.274e-05/0.4744, allocations: 23.97 kB / 1.44 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4744, allocations: 0 / 1.44 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4744, allocations: 11.86 kB / 1.44 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/0.4808, allocations: 3.337 MB / 1.443 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4808, allocations: 7.938 kB / 1.443 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.482, allocations: 227.8 kB / 1.443 GB, free: 8.742 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.482, allocations: 8 kB / 1.443 GB, free: 8.734 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/0.482, allocations: 39.95 kB / 1.443 GB, free: 8.695 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.4821, allocations: 4 kB / 1.443 GB, free: 8.691 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.4821, allocations: 15.94 kB / 1.443 GB, free: 8.676 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.4882, allocations: 2.772 MB / 1.446 GB, free: 5.867 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/0.4891, allocations: 330.2 kB / 1.447 GB, free: 5.543 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.4893, allocations: 24 kB / 1.447 GB, free: 5.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4903, allocations: 123.9 kB / 1.447 GB, free: 5.398 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4905, allocations: 80.8 kB / 1.447 GB, free: 5.316 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.4906, allocations: 51.95 kB / 1.447 GB, free: 5.266 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00154/0.4921, allocations: 1.027 MB / 1.448 GB, free: 4.246 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.4921, allocations: 0 / 1.448 GB, free: 4.246 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001741/0.4939, allocations: 0.5457 MB / 1.448 GB, free: 3.699 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.002289/0.4962, allocations: 0.8323 MB / 1.449 GB, free: 3.027 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003728/0.4999, allocations: 1.434 MB / 1.451 GB, free: 1.598 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4999, allocations: 4.062 kB / 1.451 GB, free: 1.594 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.5018, allocations: 0.7674 MB / 1.451 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.5048, allocations: 0.7307 MB / 1.452 GB, free: 108 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.5105, allocations: 3.288 MB / 1.455 GB, free: 12.76 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009272/0.5115, allocations: 1.312 MB / 1.456 GB, free: 11.42 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005685/0.512, allocations: 183.3 kB / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of SimCode: time 7.32e-07/0.512, allocations: 0 / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of Templates: time 0.04435/0.5564, allocations: 29.19 MB / 1.485 GB, free: 14.32 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/jenkins1/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: 14.177857271017274]