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.001538/0.001538, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001543/0.001543, allocations: 216 kB / 22.26 MB, free: 5.113 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 8.031 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 3.319/3.319, allocations: 0.49 GB / 0.7951 GB, free: 33.44 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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) [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.002025/0.002025, allocations: 69.06 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4283, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06502/0.4934, allocations: 55.81 MB / 1.38 GB, free: 9.926 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.5119, allocations: 10.51 MB / 1.391 GB, free: 15.39 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.5145, allocations: 95.12 kB / 1.391 GB, free: 15.3 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.5175, allocations: 0.9163 MB / 1.392 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006755/0.5242, allocations: 2.087 MB / 1.394 GB, free: 12.28 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006027/0.5303, allocations: 2.081 MB / 1.396 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007049/0.5373, allocations: 3.835 MB / 1.399 GB, free: 6.344 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.5399, allocations: 0.9826 MB / 1.4 GB, free: 5.328 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005431/0.5453, allocations: 1.992 MB / 1.402 GB, free: 3.328 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.548, allocations: 1.264 MB / 1.404 GB, free: 2.059 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005151/0.5485, allocations: 104 kB / 1.404 GB, free: 1.957 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.5525, allocations: 1.372 MB / 1.405 GB, free: 0.582 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007572/0.5533, allocations: 406.2 kB / 1.405 GB, free: 188 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.5552, allocations: 0.8508 MB / 1.406 GB, free: 15.33 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.5609, allocations: 2.482 MB / 1.409 GB, free: 12.84 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.561, allocations: 0 / 1.409 GB, free: 12.84 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.693e-06/0.561, allocations: 0 / 1.409 GB, free: 12.84 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001016/0.5611, allocations: 0 / 1.409 GB, free: 12.84 MB / 1.107 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.004677/0.5657, allocations: 2.137 MB / 1.411 GB, free: 10.65 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5658, allocations: 8.031 kB / 1.411 GB, free: 10.64 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.566, allocations: 164.8 kB / 1.411 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/0.5698, allocations: 0.6621 MB / 1.412 GB, free: 9.805 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.5724, allocations: 1.097 MB / 1.413 GB, free: 8.664 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.5725, allocations: 90.08 kB / 1.413 GB, free: 8.574 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.5727, allocations: 108 kB / 1.413 GB, free: 8.469 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.5761, allocations: 1.492 MB / 1.414 GB, free: 6.82 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.5761, allocations: 3.938 kB / 1.414 GB, free: 6.816 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.5763, allocations: 55.98 kB / 1.414 GB, free: 6.762 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.5763, allocations: 28 kB / 1.414 GB, free: 6.734 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.5799, allocations: 1.225 MB / 1.416 GB, free: 5.508 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.5909, allocations: 8.324 MB / 1.424 GB, free: 12.58 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.5943, allocations: 1.054 MB / 1.425 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.5958, allocations: 0.5298 MB / 1.425 GB, free: 10.98 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.597, allocations: 290.1 kB / 1.426 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/0.5989, allocations: 0.6683 MB / 1.426 GB, free: 10.03 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.977e-06/0.5989, allocations: 0 / 1.426 GB, free: 10.03 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.00587/0.6048, allocations: 1.799 MB / 1.428 GB, free: 8.223 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.6049, allocations: 68.34 kB / 1.428 GB, free: 8.145 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.6082, allocations: 1.518 MB / 1.43 GB, free: 6.621 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.6083, allocations: 41.7 kB / 1.43 GB, free: 6.574 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/0.6093, allocations: 0.8117 MB / 1.43 GB, free: 5.754 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/0.6097, allocations: 309.4 kB / 1.431 GB, free: 5.449 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.6102, allocations: 226.8 kB / 1.431 GB, free: 5.223 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.6104, allocations: 349.9 kB / 1.431 GB, free: 4.875 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.6121, allocations: 0.5217 MB / 1.432 GB, free: 4.352 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.6142, allocations: 0.8992 MB / 1.433 GB, free: 3.289 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/0.618, allocations: 1.407 MB / 1.434 GB, free: 1.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.618, allocations: 4 kB / 1.434 GB, free: 1.727 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004704/0.6227, allocations: 1.62 MB / 1.436 GB, free: 96 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.6227, allocations: 12 kB / 1.436 GB, free: 84 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.6228, allocations: 12 kB / 1.436 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.772e-05/0.6228, allocations: 16 kB / 1.436 GB, free: 56 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.6243, allocations: 348.1 kB / 1.436 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.462e-05/0.6243, allocations: 23.92 kB / 1.436 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.626, allocations: 230.8 kB / 1.436 GB, free: 15.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.6261, allocations: 71.95 kB / 1.436 GB, free: 15.39 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.0007458/0.6269, allocations: 343.3 kB / 1.437 GB, free: 15.05 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.6273, allocations: 174.9 kB / 1.437 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/0.6326, allocations: 2.159 MB / 1.439 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/0.6327, allocations: 19.98 kB / 1.439 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.6327, allocations: 3.938 kB / 1.439 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.6327, allocations: 7.922 kB / 1.439 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/0.6398, allocations: 3.345 MB / 1.442 GB, free: 9.262 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.6398, allocations: 0 / 1.442 GB, free: 9.262 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.641, allocations: 235.8 kB / 1.442 GB, free: 9.031 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.641, allocations: 4 kB / 1.442 GB, free: 9.027 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.6411, allocations: 43.95 kB / 1.442 GB, free: 8.984 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.6411, allocations: 7.984 kB / 1.442 GB, free: 8.977 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6411, allocations: 4 kB / 1.442 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006342/0.6474, allocations: 2.784 MB / 1.445 GB, free: 6.152 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007727/0.6482, allocations: 326.2 kB / 1.445 GB, free: 5.832 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.6485, allocations: 24 kB / 1.445 GB, free: 5.809 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.6497, allocations: 124 kB / 1.446 GB, free: 5.688 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.6498, allocations: 80.83 kB / 1.446 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6499, allocations: 47.97 kB / 1.446 GB, free: 5.559 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00158/0.6515, allocations: 1.023 MB / 1.447 GB, free: 4.543 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6515, allocations: 0 / 1.447 GB, free: 4.543 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001727/0.6532, allocations: 0.5574 MB / 1.447 GB, free: 3.984 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.008944/0.6622, allocations: 4.053 MB / 1.451 GB, free: 52 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003893/0.6661, allocations: 1.43 MB / 1.453 GB, free: 14.62 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6661, allocations: 0 / 1.453 GB, free: 14.62 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.6681, allocations: 0.7714 MB / 1.453 GB, free: 13.86 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.6714, allocations: 0.736 MB / 1.454 GB, free: 13.13 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/0.6975, allocations: 12.72 MB / 1.466 GB, free: 15.87 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.6988, allocations: 1.309 MB / 1.468 GB, free: 14.54 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001576/0.7004, allocations: 377 kB / 1.468 GB, free: 14.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.7016, allocations: 0.7179 MB / 1.469 GB, free: 13.44 MB / 1.17 GB Notification: Performance of SimCode: time 1.824e-06/0.7016, allocations: 0 / 1.469 GB, free: 13.44 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/0.8097, allocations: 49.08 MB / 1.517 GB, free: 12.93 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.81, allocations: 15.14 kB / 1.517 GB, free: 12.93 MB / 1.217 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] 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: 24.105730588082224]