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.001287/0.001287, allocations: 116.6 kB / 17.13 MB, free: 6.027 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.001459/0.001459, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.871/2.871, allocations: 0.49 GB / 0.7923 GB, free: 1.355 MB / 0.6231 GB " [Timeout remaining time 176] 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.001984/0.001984, allocations: 63.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9201/0.922, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05351/0.9755, allocations: 55.25 MB / 1.376 GB, free: 1.547 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.9938, allocations: 10.46 MB / 1.386 GB, free: 10.1 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.9969, allocations: 94.94 kB / 1.386 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.9998, allocations: 0.9228 MB / 1.387 GB, free: 9.566 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007597/1.007, allocations: 2.055 MB / 1.389 GB, free: 8.387 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00685/1.014, allocations: 2.01 MB / 1.391 GB, free: 7.355 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007619/1.022, allocations: 3.793 MB / 1.395 GB, free: 5.609 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/1.024, allocations: 1.014 MB / 1.396 GB, free: 5.141 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006945/1.031, allocations: 1.95 MB / 1.398 GB, free: 4.254 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/1.035, allocations: 1.264 MB / 1.399 GB, free: 3.738 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004385/1.036, allocations: 106.2 kB / 1.399 GB, free: 3.738 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/1.04, allocations: 1.34 MB / 1.4 GB, free: 3.223 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000569/1.041, allocations: 396.5 kB / 1.401 GB, free: 2.996 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/1.043, allocations: 0.853 MB / 1.402 GB, free: 2.488 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006463/1.049, allocations: 2.481 MB / 1.404 GB, free: 1.52 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.049, allocations: 7.938 kB / 1.404 GB, free: 1.512 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.834e-06/1.049, allocations: 0 / 1.404 GB, free: 1.512 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.863e-05/1.049, allocations: 0 / 1.404 GB, free: 1.512 MB / 1.092 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.005094/1.054, allocations: 2.209 MB / 1.406 GB, free: 36 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.054, allocations: 13.14 kB / 1.406 GB, free: 32 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/1.058, allocations: 0.6655 MB / 1.407 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/1.061, allocations: 1.211 MB / 1.408 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/1.061, allocations: 84.28 kB / 1.408 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/1.061, allocations: 113.3 kB / 1.408 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/1.065, allocations: 1.49 MB / 1.41 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/1.065, allocations: 6.562 kB / 1.41 GB, free: 14.33 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.065, allocations: 49.14 kB / 1.41 GB, free: 14.3 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/1.065, allocations: 29.25 kB / 1.41 GB, free: 14.3 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/1.069, allocations: 1.222 MB / 1.411 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/1.081, allocations: 8.387 MB / 1.419 GB, free: 7.023 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/1.084, allocations: 1.056 MB / 1.42 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/1.086, allocations: 0.5244 MB / 1.421 GB, free: 6.57 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002726/1.089, allocations: 2.894 MB / 1.423 GB, free: 3.238 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002027/1.091, allocations: 0.6739 MB / 1.424 GB, free: 2.977 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.837e-06/1.091, allocations: 0 / 1.424 GB, free: 2.977 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.0061/1.097, allocations: 1.794 MB / 1.426 GB, free: 2.117 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/1.097, allocations: 72.22 kB / 1.426 GB, free: 2.039 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/1.1, allocations: 1.514 MB / 1.427 GB, free: 1.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/1.1, allocations: 44.23 kB / 1.427 GB, free: 1.227 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007651/1.1, allocations: 0.8141 MB / 1.428 GB, free: 0.5 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/1.101, allocations: 309.4 kB / 1.429 GB, free: 240 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/1.101, allocations: 223.5 kB / 1.429 GB, free: 108 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.101, allocations: 343.9 kB / 1.429 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.103, allocations: 0.52 MB / 1.43 GB, free: 15.53 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/1.105, allocations: 0.8955 MB / 1.431 GB, free: 14.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/1.109, allocations: 1.415 MB / 1.432 GB, free: 13.82 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.109, allocations: 3.531 kB / 1.432 GB, free: 13.82 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004729/1.113, allocations: 1.626 MB / 1.433 GB, free: 13.01 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.114, allocations: 9.125 kB / 1.433 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.114, allocations: 12.44 kB / 1.433 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/1.114, allocations: 16.09 kB / 1.434 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.115, allocations: 347.9 kB / 1.434 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/1.115, allocations: 24.72 kB / 1.434 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/1.117, allocations: 235.1 kB / 1.434 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.117, allocations: 72.8 kB / 1.434 GB, free: 12.74 MB / 1.123 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.0007686/1.118, allocations: 344.5 kB / 1.434 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/1.118, allocations: 177.9 kB / 1.435 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/1.123, allocations: 2.092 MB / 1.437 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/1.123, allocations: 23.92 kB / 1.437 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.123, allocations: 0 / 1.437 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/1.123, allocations: 17.12 kB / 1.437 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007148/1.131, allocations: 3.293 MB / 1.44 GB, free: 9.188 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/1.131, allocations: 1.062 kB / 1.44 GB, free: 9.188 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.132, allocations: 227.1 kB / 1.44 GB, free: 9.117 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/1.132, allocations: 4.594 kB / 1.44 GB, free: 9.117 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.941e-05/1.132, allocations: 42.73 kB / 1.44 GB, free: 9.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/1.132, allocations: 5.438 kB / 1.44 GB, free: 9.09 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.132, allocations: 5.375 kB / 1.44 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006941/1.139, allocations: 2.706 MB / 1.443 GB, free: 7.625 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009833/1.14, allocations: 392.8 kB / 1.443 GB, free: 7.293 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.14, allocations: 23.25 kB / 1.443 GB, free: 7.277 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.141, allocations: 122.3 kB / 1.443 GB, free: 7.219 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.141, allocations: 80.58 kB / 1.443 GB, free: 7.176 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.141, allocations: 47.75 kB / 1.444 GB, free: 7.16 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001638/1.143, allocations: 1.026 MB / 1.445 GB, free: 6.641 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.143, allocations: 1 kB / 1.445 GB, free: 6.641 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002081/1.145, allocations: 0.5431 MB / 1.445 GB, free: 6.5 MB / 1.123 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.002536/1.148, allocations: 0.8345 MB / 1.446 GB, free: 6.086 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004249/1.152, allocations: 1.41 MB / 1.447 GB, free: 5.457 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.152, allocations: 1.031 kB / 1.447 GB, free: 5.457 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/1.154, allocations: 0.7407 MB / 1.448 GB, free: 5.117 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.158, allocations: 0.7368 MB / 1.449 GB, free: 4.711 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/1.164, allocations: 3.252 MB / 1.452 GB, free: 2.656 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009682/1.165, allocations: 1.301 MB / 1.453 GB, free: 1.328 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/1.166, allocations: 187.3 kB / 1.453 GB, free: 1.145 MB / 1.123 GB Notification: Performance of SimCode: time 1.603e-06/1.166, allocations: 0 / 1.453 GB, free: 1.145 MB / 1.123 GB Notification: Performance of Templates: time 0.04817/1.214, allocations: 29.13 MB / 1.482 GB, free: 4.293 MB / 1.154 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: 15.62847723098821]