Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001454/0.001454, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001649/0.001649, allocations: 219 kB / 22.26 MB, free: 5.125 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_11_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.002035/0.002035, allocations: 66.22 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03689/0.3865, allocations: 30 MB / 1.313 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3985, allocations: 7.035 MB / 1.32 GB, free: 6.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.4, allocations: 63.38 kB / 1.32 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.402, allocations: 0.7148 MB / 1.32 GB, free: 5.766 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.4067, allocations: 1.587 MB / 1.322 GB, free: 4.172 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.4099, allocations: 1.113 MB / 1.323 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004409/0.4143, allocations: 2.536 MB / 1.325 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.4159, allocations: 0.6583 MB / 1.326 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.4185, allocations: 1.074 MB / 1.327 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.4203, allocations: 0.8792 MB / 1.328 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.4206, allocations: 68 kB / 1.328 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.4231, allocations: 0.8772 MB / 1.329 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.4236, allocations: 298.8 kB / 1.329 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.4247, allocations: 0.5552 MB / 1.33 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.4281, allocations: 1.634 MB / 1.331 GB, free: 10.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.4281, allocations: 0 / 1.331 GB, free: 10.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4281, allocations: 0 / 1.331 GB, free: 10.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.588e-05/0.4281, allocations: 4 kB / 1.331 GB, free: 10.45 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003512/0.4316, allocations: 1.556 MB / 1.333 GB, free: 8.848 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4317, allocations: 12.03 kB / 1.333 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.4319, allocations: 114.7 kB / 1.333 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.4354, allocations: 0.597 MB / 1.334 GB, free: 8.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.4374, allocations: 0.809 MB / 1.334 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.4374, allocations: 62.12 kB / 1.334 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.4376, allocations: 71.95 kB / 1.334 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.4403, allocations: 1.103 MB / 1.336 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.4403, allocations: 3.938 kB / 1.336 GB, free: 5.938 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.4404, allocations: 28 kB / 1.336 GB, free: 5.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.4404, allocations: 20 kB / 1.336 GB, free: 5.891 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/0.4436, allocations: 1 MB / 1.337 GB, free: 4.891 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007065/0.4506, allocations: 4.909 MB / 1.341 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.4537, allocations: 0.875 MB / 1.342 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4551, allocations: 466.3 kB / 1.343 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007392/0.4558, allocations: 180.2 kB / 1.343 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001689/0.4575, allocations: 0.5642 MB / 1.343 GB, free: 13.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 3.276e-06/0.4575, allocations: 0 / 1.343 GB, free: 13.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.004847/0.4624, allocations: 1.499 MB / 1.345 GB, free: 12.11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.4624, allocations: 59.91 kB / 1.345 GB, free: 12.04 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.464, allocations: 1.137 MB / 1.346 GB, free: 10.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.4641, allocations: 45.64 kB / 1.346 GB, free: 10.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/0.4646, allocations: 0.5716 MB / 1.347 GB, free: 10.26 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.4648, allocations: 214.2 kB / 1.347 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.4651, allocations: 166.6 kB / 1.347 GB, free: 9.883 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4653, allocations: 333.9 kB / 1.347 GB, free: 9.551 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.4667, allocations: 453.6 kB / 1.348 GB, free: 9.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.4686, allocations: 0.7206 MB / 1.348 GB, free: 8.273 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.4718, allocations: 1.114 MB / 1.35 GB, free: 7.055 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4718, allocations: 4 kB / 1.35 GB, free: 7.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003774/0.4756, allocations: 1.281 MB / 1.351 GB, free: 5.762 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.4756, allocations: 8 kB / 1.351 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4756, allocations: 8 kB / 1.351 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.4757, allocations: 15.98 kB / 1.351 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4769, allocations: 272.1 kB / 1.351 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.4769, allocations: 15.98 kB / 1.351 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4782, allocations: 183.2 kB / 1.351 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4783, allocations: 47.97 kB / 1.351 GB, free: 5.223 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005213/0.4788, allocations: 307.4 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.4791, allocations: 135.1 kB / 1.352 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/0.4831, allocations: 1.403 MB / 1.353 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.4832, allocations: 8 kB / 1.353 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4832, allocations: 0 / 1.353 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4832, allocations: 7.984 kB / 1.353 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.4888, allocations: 2.398 MB / 1.355 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4888, allocations: 0 / 1.355 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4898, allocations: 191.9 kB / 1.356 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.4898, allocations: 4 kB / 1.356 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/0.4899, allocations: 31.97 kB / 1.356 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.4899, allocations: 7.938 kB / 1.356 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.4899, allocations: 11.92 kB / 1.356 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.4954, allocations: 2.016 MB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.4959, allocations: 218.9 kB / 1.358 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.4962, allocations: 16 kB / 1.358 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.4972, allocations: 111.9 kB / 1.358 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4973, allocations: 56.5 kB / 1.358 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/0.4974, allocations: 31.97 kB / 1.358 GB, free: 14.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001173/0.4986, allocations: 0.788 MB / 1.359 GB, free: 13.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4986, allocations: 0 / 1.359 GB, free: 13.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001241/0.4998, allocations: 355.3 kB / 1.359 GB, free: 13.02 MB / 1.061 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 (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007735/0.5076, allocations: 3.121 MB / 1.362 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.511, allocations: 1.092 MB / 1.363 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.511, allocations: 0 / 1.363 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.5128, allocations: 0.5584 MB / 1.364 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.5151, allocations: 454.9 kB / 1.364 GB, free: 7.941 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/0.536, allocations: 9.729 MB / 1.374 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.5368, allocations: 1.122 MB / 1.375 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009932/0.5378, allocations: 252.7 kB / 1.375 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007686/0.5386, allocations: 479.2 kB / 1.376 GB, free: 11.97 MB / 1.076 GB Notification: Performance of SimCode: time 1.052e-06/0.5386, allocations: 0 / 1.376 GB, free: 11.97 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08373/0.6223, allocations: 31.81 MB / 1.407 GB, free: 12.54 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.36, allocations: 1.891 kB / 1.407 GB, free: 12.54 MB / 1.107 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.413978695170954]