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.001943/0.001943, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002624/0.002624, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.861/2.861, allocations: 476.8 MB / 0.7715 GB, free: 3.879 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",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.001949/0.001949, allocations: 68.19 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3686, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03432/0.403, allocations: 27.11 MB / 1.311 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.4161, allocations: 6.534 MB / 1.317 GB, free: 8.945 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.4179, allocations: 63.38 kB / 1.317 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.4201, allocations: 0.6953 MB / 1.318 GB, free: 8.184 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.4252, allocations: 1.571 MB / 1.319 GB, free: 6.605 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.4286, allocations: 1.093 MB / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004031/0.4326, allocations: 2.535 MB / 1.323 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.4342, allocations: 0.6583 MB / 1.323 GB, free: 2.301 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.4367, allocations: 1.086 MB / 1.324 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.4384, allocations: 0.8714 MB / 1.325 GB, free: 344 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.4388, allocations: 68 kB / 1.325 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.4409, allocations: 0.686 MB / 1.326 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005148/0.4414, allocations: 294.8 kB / 1.326 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009152/0.4423, allocations: 461.4 kB / 1.327 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.4455, allocations: 1.608 MB / 1.328 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4456, allocations: 3.938 kB / 1.328 GB, free: 13.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4456, allocations: 0 / 1.328 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.62e-05/0.4456, allocations: 0 / 1.328 GB, free: 13.22 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.003362/0.449, allocations: 1.558 MB / 1.33 GB, free: 11.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.449, allocations: 12.03 kB / 1.33 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.515e-05/0.4491, allocations: 18.19 kB / 1.33 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.4492, allocations: 118.7 kB / 1.33 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.4528, allocations: 0.5892 MB / 1.331 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.4548, allocations: 0.7874 MB / 1.331 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.4548, allocations: 61.94 kB / 1.331 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.455, allocations: 72 kB / 1.331 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.4578, allocations: 1.107 MB / 1.333 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.4579, allocations: 7.938 kB / 1.333 GB, free: 8.723 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.458, allocations: 32 kB / 1.333 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.458, allocations: 19.98 kB / 1.333 GB, free: 8.672 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.4612, allocations: 1.012 MB / 1.334 GB, free: 7.66 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.006569/0.4677, allocations: 4.247 MB / 1.338 GB, free: 3.258 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.4708, allocations: 0.8916 MB / 1.339 GB, free: 2.355 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.4723, allocations: 474.1 kB / 1.339 GB, free: 1.891 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.473, allocations: 172.3 kB / 1.339 GB, free: 1.723 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.4747, allocations: 0.5798 MB / 1.34 GB, free: 1.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 3.587e-06/0.4747, allocations: 4 kB / 1.34 GB, free: 1.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.004839/0.4795, allocations: 1.511 MB / 1.341 GB, free: 15.61 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.4796, allocations: 55.91 kB / 1.341 GB, free: 15.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4814, allocations: 1.169 MB / 1.342 GB, free: 14.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.4815, allocations: 49.69 kB / 1.343 GB, free: 14.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.4821, allocations: 0.5638 MB / 1.343 GB, free: 13.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.4824, allocations: 218.2 kB / 1.343 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.4827, allocations: 166.6 kB / 1.343 GB, free: 13.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4829, allocations: 334 kB / 1.344 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4844, allocations: 461.5 kB / 1.344 GB, free: 12.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4863, allocations: 0.9504 MB / 1.345 GB, free: 11.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.4894, allocations: 1.126 MB / 1.346 GB, free: 10.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4894, allocations: 3.938 kB / 1.346 GB, free: 10.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003891/0.4933, allocations: 1.309 MB / 1.348 GB, free: 8.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.4933, allocations: 8 kB / 1.348 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.4933, allocations: 8 kB / 1.348 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.4934, allocations: 12 kB / 1.348 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.4947, allocations: 275.5 kB / 1.348 GB, free: 8.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.987e-05/0.4947, allocations: 12 kB / 1.348 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.496, allocations: 175.3 kB / 1.348 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.4961, allocations: 47.98 kB / 1.348 GB, free: 8.371 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.0006139/0.4968, allocations: 303.4 kB / 1.348 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.4971, allocations: 135.1 kB / 1.348 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/0.5013, allocations: 1.452 MB / 1.35 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.5013, allocations: 11.94 kB / 1.35 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5013, allocations: 0 / 1.35 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5013, allocations: 3.984 kB / 1.35 GB, free: 6.457 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.5068, allocations: 2.332 MB / 1.352 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.5069, allocations: 0 / 1.352 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.5079, allocations: 199.9 kB / 1.352 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.508, allocations: 8 kB / 1.352 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.508, allocations: 23.97 kB / 1.352 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.508, allocations: 8 kB / 1.352 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.508, allocations: 3.938 kB / 1.352 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.5135, allocations: 2.081 MB / 1.354 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.5141, allocations: 214.9 kB / 1.355 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.5143, allocations: 16 kB / 1.355 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5153, allocations: 107.9 kB / 1.355 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.5155, allocations: 60.5 kB / 1.355 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.5156, allocations: 31.97 kB / 1.355 GB, free: 1.285 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001179/0.5167, allocations: 0.8075 MB / 1.356 GB, free: 484 kB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5167, allocations: 0 / 1.356 GB, free: 484 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001227/0.518, allocations: 355.3 kB / 1.356 GB, free: 128 kB / 1.045 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 (76): * Single equations (assignments): 61 * 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.008124/0.5261, allocations: 3.203 MB / 1.359 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00356/0.5297, allocations: 1.124 MB / 1.36 GB, free: 11.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5297, allocations: 0 / 1.36 GB, free: 11.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.5314, allocations: 0.5701 MB / 1.361 GB, free: 11.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.5337, allocations: 451.4 kB / 1.361 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/0.5555, allocations: 9.777 MB / 1.371 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/0.5563, allocations: 0.5257 MB / 1.371 GB, free: 232 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001199/0.5575, allocations: 248.6 kB / 1.371 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/0.5584, allocations: 475.2 kB / 1.372 GB, free: 15.52 MB / 1.076 GB Notification: Performance of SimCode: time 1.392e-06/0.5584, allocations: 4 kB / 1.372 GB, free: 15.51 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07816/0.6366, allocations: 33.47 MB / 1.405 GB, free: 14.62 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.59, allocations: 4.062 kB / 1.405 GB, free: 14.62 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.88906940293964]