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.001458/0.001458, 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.001338/0.001338, allocations: 217.4 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.298/1.298, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] 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 2.924/2.924, allocations: 0.505 GB / 0.8108 GB, free: 22.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.002068/0.002068, allocations: 72.36 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.312, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05787/0.3698, allocations: 55.81 MB / 1.409 GB, free: 15.95 MB / 1.108 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3854, allocations: 10.51 MB / 1.419 GB, free: 5.418 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.3871, allocations: 99.12 kB / 1.419 GB, free: 5.32 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.3892, allocations: 0.9124 MB / 1.42 GB, free: 4.402 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.005116/0.3944, allocations: 2.08 MB / 1.422 GB, free: 2.312 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.3992, allocations: 2.085 MB / 1.424 GB, free: 232 kB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.005471/0.4047, allocations: 3.823 MB / 1.428 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.4063, allocations: 0.9825 MB / 1.429 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.4103, allocations: 1.988 MB / 1.431 GB, free: 9.383 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.4122, allocations: 1.272 MB / 1.432 GB, free: 8.105 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.4124, allocations: 104 kB / 1.432 GB, free: 8.004 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.4152, allocations: 1.372 MB / 1.433 GB, free: 6.629 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.4156, allocations: 410.2 kB / 1.434 GB, free: 6.227 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009489/0.4165, allocations: 0.8508 MB / 1.434 GB, free: 5.371 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.4202, allocations: 2.479 MB / 1.437 GB, free: 2.883 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4202, allocations: 0 / 1.437 GB, free: 2.883 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4202, allocations: 0 / 1.437 GB, free: 2.883 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.4202, allocations: 0 / 1.437 GB, free: 2.883 MB / 1.123 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.003515/0.4237, allocations: 2.137 MB / 1.439 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4237, allocations: 8.031 kB / 1.439 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.4272, allocations: 0.666 MB / 1.44 GB, free: 20 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.4293, allocations: 1.101 MB / 1.441 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.4294, allocations: 86.08 kB / 1.441 GB, free: 14.79 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.4295, allocations: 108 kB / 1.441 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.4324, allocations: 1.5 MB / 1.442 GB, free: 13.02 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.4325, allocations: 7.938 kB / 1.442 GB, free: 13.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-05/0.4326, allocations: 48 kB / 1.442 GB, free: 12.97 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.4326, allocations: 28 kB / 1.442 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.4358, allocations: 1.225 MB / 1.444 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009343/0.4452, allocations: 8.32 MB / 1.452 GB, free: 2.789 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.4483, allocations: 1.05 MB / 1.453 GB, free: 1.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.4497, allocations: 0.5337 MB / 1.453 GB, free: 1.191 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009133/0.4506, allocations: 294.1 kB / 1.454 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/0.4523, allocations: 0.6683 MB / 1.454 GB, free: 228 kB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.996e-06/0.4523, allocations: 0 / 1.454 GB, free: 228 kB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.005127/0.4575, allocations: 1.799 MB / 1.456 GB, free: 14.42 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.4575, allocations: 64.39 kB / 1.456 GB, free: 14.34 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.4595, allocations: 1.514 MB / 1.458 GB, free: 12.82 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.4596, allocations: 41.7 kB / 1.458 GB, free: 12.78 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.4603, allocations: 0.8078 MB / 1.458 GB, free: 11.96 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.4606, allocations: 313.4 kB / 1.459 GB, free: 11.65 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.4609, allocations: 226.8 kB / 1.459 GB, free: 11.43 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.461, allocations: 353.9 kB / 1.459 GB, free: 11.07 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4625, allocations: 0.5178 MB / 1.46 GB, free: 10.55 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4644, allocations: 0.9031 MB / 1.461 GB, free: 9.492 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.4676, allocations: 1.407 MB / 1.462 GB, free: 7.934 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.4676, allocations: 4 kB / 1.462 GB, free: 7.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004052/0.4717, allocations: 1.616 MB / 1.464 GB, free: 6.305 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4717, allocations: 12 kB / 1.464 GB, free: 6.293 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.4717, allocations: 15.98 kB / 1.464 GB, free: 6.277 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.4718, allocations: 16.78 kB / 1.464 GB, free: 6.262 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4731, allocations: 351.4 kB / 1.464 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/0.4731, allocations: 23.92 kB / 1.464 GB, free: 5.895 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4745, allocations: 230.8 kB / 1.464 GB, free: 5.668 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4746, allocations: 63.97 kB / 1.464 GB, free: 5.605 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.0005729/0.4752, allocations: 348 kB / 1.465 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.4754, allocations: 174.9 kB / 1.465 GB, free: 5.082 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.4802, allocations: 2.163 MB / 1.467 GB, free: 2.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.4803, allocations: 19.98 kB / 1.467 GB, free: 2.891 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4803, allocations: 3.984 kB / 1.467 GB, free: 2.887 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4803, allocations: 7.922 kB / 1.467 GB, free: 2.879 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006361/0.4867, allocations: 3.344 MB / 1.47 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4867, allocations: 8.219 kB / 1.47 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.4878, allocations: 239.6 kB / 1.47 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.4878, allocations: 7.938 kB / 1.47 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.4879, allocations: 39.97 kB / 1.47 GB, free: 15.17 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.4879, allocations: 4 kB / 1.47 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4879, allocations: 7.984 kB / 1.47 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006131/0.494, allocations: 2.78 MB / 1.473 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/0.4948, allocations: 326.2 kB / 1.473 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4949, allocations: 19.98 kB / 1.473 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.496, allocations: 123.9 kB / 1.474 GB, free: 11.88 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.4961, allocations: 76.84 kB / 1.474 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.967e-05/0.4962, allocations: 51.95 kB / 1.474 GB, free: 11.75 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001387/0.4976, allocations: 1.023 MB / 1.475 GB, free: 10.74 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4976, allocations: 8 kB / 1.475 GB, free: 10.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001466/0.4991, allocations: 0.5496 MB / 1.475 GB, free: 10.18 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 (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.002244/0.5013, allocations: 0.8303 MB / 1.476 GB, free: 9.508 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.505, allocations: 1.43 MB / 1.477 GB, free: 8.082 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.505, allocations: 192 / 1.477 GB, free: 8.082 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.5069, allocations: 0.7791 MB / 1.478 GB, free: 7.301 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.51, allocations: 0.731 MB / 1.479 GB, free: 6.582 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.5157, allocations: 3.277 MB / 1.482 GB, free: 3.246 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/0.5166, allocations: 1.304 MB / 1.483 GB, free: 1.918 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.5172, allocations: 195.2 kB / 1.484 GB, free: 1.727 MB / 1.17 GB Notification: Performance of SimCode: time 8.41e-07/0.5172, allocations: 0 / 1.484 GB, free: 1.727 MB / 1.17 GB Notification: Performance of Templates: time 0.04271/0.5599, allocations: 29.2 MB / 1.512 GB, free: 4.77 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: 13.80629862297792]