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.001946/0.001946, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002374/0.002374, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.536/3.536, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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.00219/0.00219, allocations: 73.55 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4467, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05856/0.5053, allocations: 50.43 MB / 1.413 GB, free: 10.94 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.523, allocations: 9.757 MB / 1.423 GB, free: 1.156 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.5258, allocations: 91.19 kB / 1.423 GB, free: 1.066 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.5288, allocations: 0.9163 MB / 1.424 GB, free: 148 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007498/0.5363, allocations: 2.072 MB / 1.426 GB, free: 14.06 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00684/0.5432, allocations: 2.015 MB / 1.428 GB, free: 12.05 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006793/0.55, allocations: 3.804 MB / 1.431 GB, free: 8.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.5521, allocations: 0.9747 MB / 1.432 GB, free: 7.227 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/0.5571, allocations: 1.984 MB / 1.434 GB, free: 5.234 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.5594, allocations: 1.198 MB / 1.435 GB, free: 4.031 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.5596, allocations: 108 kB / 1.436 GB, free: 3.926 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.5626, allocations: 1.037 MB / 1.437 GB, free: 2.887 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004822/0.5631, allocations: 414.2 kB / 1.437 GB, free: 2.48 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.564, allocations: 0.6995 MB / 1.438 GB, free: 1.777 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003943/0.5679, allocations: 2.436 MB / 1.44 GB, free: 15.33 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.568, allocations: 4 kB / 1.44 GB, free: 15.33 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.704e-06/0.568, allocations: 0 / 1.44 GB, free: 15.33 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.568, allocations: 4 kB / 1.44 GB, free: 15.32 MB / 1.139 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.003721/0.5717, allocations: 2.126 MB / 1.442 GB, free: 13.15 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5717, allocations: 8.031 kB / 1.442 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.5752, allocations: 0.6582 MB / 1.443 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.5774, allocations: 1.083 MB / 1.444 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.5775, allocations: 90.08 kB / 1.444 GB, free: 11.27 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.5777, allocations: 108 kB / 1.444 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.5808, allocations: 1.5 MB / 1.445 GB, free: 9.504 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.5808, allocations: 7.938 kB / 1.445 GB, free: 9.496 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.5809, allocations: 48 kB / 1.445 GB, free: 9.449 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.581, allocations: 28 kB / 1.446 GB, free: 9.422 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.5844, allocations: 1.237 MB / 1.447 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008518/0.593, allocations: 6.406 MB / 1.453 GB, free: 1.559 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.5963, allocations: 1.07 MB / 1.454 GB, free: 496 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.5979, allocations: 0.526 MB / 1.455 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.5989, allocations: 286.2 kB / 1.455 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001866/0.6008, allocations: 0.6761 MB / 1.455 GB, free: 14.99 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 3.967e-06/0.6008, allocations: 4 kB / 1.455 GB, free: 14.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.005481/0.6063, allocations: 1.803 MB / 1.457 GB, free: 13.18 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.6063, allocations: 64.39 kB / 1.457 GB, free: 13.1 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.6083, allocations: 1.408 MB / 1.459 GB, free: 11.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.6084, allocations: 45.7 kB / 1.459 GB, free: 11.62 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007387/0.6091, allocations: 0.8069 MB / 1.459 GB, free: 10.81 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.6094, allocations: 321.3 kB / 1.46 GB, free: 10.49 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.6098, allocations: 226.8 kB / 1.46 GB, free: 10.27 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.61, allocations: 349.9 kB / 1.46 GB, free: 9.918 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.6116, allocations: 0.5256 MB / 1.461 GB, free: 9.391 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.6138, allocations: 1.137 MB / 1.462 GB, free: 8.039 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.6174, allocations: 1.43 MB / 1.463 GB, free: 6.457 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.6174, allocations: 4 kB / 1.463 GB, free: 6.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004562/0.622, allocations: 1.606 MB / 1.465 GB, free: 4.836 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.622, allocations: 8 kB / 1.465 GB, free: 4.828 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.622, allocations: 12 kB / 1.465 GB, free: 4.816 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.622, allocations: 16 kB / 1.465 GB, free: 4.801 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6234, allocations: 343.6 kB / 1.465 GB, free: 4.465 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.828e-05/0.6234, allocations: 27.86 kB / 1.465 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.625, allocations: 207.1 kB / 1.466 GB, free: 4.234 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.6251, allocations: 67.97 kB / 1.466 GB, free: 4.168 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.00068/0.6258, allocations: 352.5 kB / 1.466 GB, free: 3.816 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.6261, allocations: 166.9 kB / 1.466 GB, free: 3.652 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/0.6311, allocations: 2.169 MB / 1.468 GB, free: 1.473 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/0.6312, allocations: 23.98 kB / 1.468 GB, free: 1.449 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6312, allocations: 0 / 1.468 GB, free: 1.449 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.6312, allocations: 11.91 kB / 1.468 GB, free: 1.438 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006681/0.6379, allocations: 3.117 MB / 1.471 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.6379, allocations: 8.016 kB / 1.471 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6391, allocations: 235.7 kB / 1.472 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6391, allocations: 4 kB / 1.472 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/0.6392, allocations: 47.89 kB / 1.472 GB, free: 13.97 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.6392, allocations: 11.92 kB / 1.472 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6392, allocations: 0 / 1.472 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.6458, allocations: 2.81 MB / 1.474 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/0.6465, allocations: 306.3 kB / 1.475 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.6467, allocations: 31.92 kB / 1.475 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6478, allocations: 123.8 kB / 1.475 GB, free: 10.66 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.6479, allocations: 76.86 kB / 1.475 GB, free: 10.58 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.648, allocations: 51.95 kB / 1.475 GB, free: 10.53 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001356/0.6494, allocations: 0.9326 MB / 1.476 GB, free: 9.602 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6494, allocations: 4 kB / 1.476 GB, free: 9.598 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001786/0.6512, allocations: 0.569 MB / 1.476 GB, free: 9.027 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 (116): * Single equations (assignments): 85 * 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.002523/0.6537, allocations: 0.8558 MB / 1.477 GB, free: 8.352 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004054/0.6578, allocations: 1.454 MB / 1.479 GB, free: 6.898 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6578, allocations: 0 / 1.479 GB, free: 6.898 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.6598, allocations: 0.7793 MB / 1.479 GB, free: 6.117 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.6624, allocations: 0.6099 MB / 1.48 GB, free: 5.523 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.6683, allocations: 3.224 MB / 1.483 GB, free: 2.246 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/0.6691, allocations: 0.7345 MB / 1.484 GB, free: 1.48 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001248/0.6703, allocations: 347.3 kB / 1.484 GB, free: 1.137 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.6707, allocations: 159.3 kB / 1.484 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of SimCode: time 7.81e-07/0.6707, allocations: 0 / 1.484 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of Templates: time 0.05674/0.7275, allocations: 33.03 MB / 1.517 GB, free: 0.5977 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/jenkins/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: 11.066318990662694]