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.00178/0.00178, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002182/0.002182, allocations: 214.3 kB / 22.24 MB, free: 4.859 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8.02 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.713/2.713, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] 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.002128/0.002128, allocations: 69.39 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03151/0.4023, allocations: 27.12 MB / 1.309 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4139, allocations: 6.536 MB / 1.315 GB, free: 10.74 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.4157, allocations: 67.38 kB / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.4178, allocations: 0.703 MB / 1.316 GB, free: 9.969 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.4227, allocations: 1.568 MB / 1.318 GB, free: 8.395 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.4258, allocations: 1.081 MB / 1.319 GB, free: 7.316 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003974/0.4298, allocations: 2.52 MB / 1.321 GB, free: 4.785 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.4311, allocations: 0.65 MB / 1.322 GB, free: 4.129 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.4336, allocations: 1.082 MB / 1.323 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.435, allocations: 0.8363 MB / 1.324 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.4352, allocations: 68 kB / 1.324 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.4369, allocations: 0.6782 MB / 1.324 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.4373, allocations: 298.8 kB / 1.325 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.4378, allocations: 457.4 kB / 1.325 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.4402, allocations: 1.607 MB / 1.327 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4402, allocations: 4 kB / 1.327 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.624e-06/0.4402, allocations: 4 kB / 1.327 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.4403, allocations: 0 / 1.327 GB, free: 15.09 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.002833/0.4431, allocations: 1.548 MB / 1.328 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4431, allocations: 11.97 kB / 1.328 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.4433, allocations: 118.7 kB / 1.328 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/0.4467, allocations: 0.6009 MB / 1.329 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.4483, allocations: 0.7797 MB / 1.33 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.4484, allocations: 58.12 kB / 1.33 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.4485, allocations: 75.94 kB / 1.33 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.4511, allocations: 1.115 MB / 1.331 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4511, allocations: 4 kB / 1.331 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.4512, allocations: 28 kB / 1.331 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.4512, allocations: 16 kB / 1.331 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.4543, allocations: 1.016 MB / 1.332 GB, free: 9.555 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.006135/0.4604, allocations: 4.251 MB / 1.336 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.4634, allocations: 0.8987 MB / 1.337 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.4649, allocations: 466 kB / 1.337 GB, free: 3.781 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/0.4656, allocations: 180.3 kB / 1.338 GB, free: 3.605 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.4673, allocations: 0.573 MB / 1.338 GB, free: 3.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 3.096e-06/0.4673, allocations: 4 kB / 1.338 GB, free: 3.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.004892/0.4722, allocations: 1.515 MB / 1.34 GB, free: 1.496 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.4723, allocations: 59.91 kB / 1.34 GB, free: 1.426 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.4738, allocations: 1.18 MB / 1.341 GB, free: 240 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.4739, allocations: 37.7 kB / 1.341 GB, free: 196 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/0.4744, allocations: 0.5678 MB / 1.342 GB, free: 15.62 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.4747, allocations: 218.2 kB / 1.342 GB, free: 15.4 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.4749, allocations: 162.6 kB / 1.342 GB, free: 15.24 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4751, allocations: 337.9 kB / 1.342 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.4766, allocations: 461.6 kB / 1.343 GB, free: 14.45 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.4784, allocations: 0.9465 MB / 1.344 GB, free: 13.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.4816, allocations: 1.133 MB / 1.345 GB, free: 12.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.4816, allocations: 4 kB / 1.345 GB, free: 12.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003813/0.4854, allocations: 1.3 MB / 1.346 GB, free: 10.78 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.4854, allocations: 8 kB / 1.346 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4854, allocations: 8 kB / 1.346 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.4855, allocations: 12 kB / 1.346 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4867, allocations: 272 kB / 1.346 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.4867, allocations: 19.92 kB / 1.346 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.4879, allocations: 179.2 kB / 1.346 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.488, allocations: 43.98 kB / 1.346 GB, free: 10.25 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.000491/0.4885, allocations: 300 kB / 1.347 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.4887, allocations: 127.1 kB / 1.347 GB, free: 9.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.4926, allocations: 1.44 MB / 1.348 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.4926, allocations: 15.98 kB / 1.348 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.4926, allocations: 4.031 kB / 1.348 GB, free: 8.355 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4927, allocations: 7.922 kB / 1.348 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.4979, allocations: 2.336 MB / 1.351 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4979, allocations: 0 / 1.351 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.499, allocations: 203.9 kB / 1.351 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.499, allocations: 4 kB / 1.351 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.4991, allocations: 19.98 kB / 1.351 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.4991, allocations: 7.984 kB / 1.351 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.4991, allocations: 11.88 kB / 1.351 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005442/0.5045, allocations: 2.073 MB / 1.353 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/0.5051, allocations: 218.9 kB / 1.353 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.5053, allocations: 12 kB / 1.353 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/0.5063, allocations: 116 kB / 1.353 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.5064, allocations: 64.42 kB / 1.353 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/0.5065, allocations: 31.97 kB / 1.353 GB, free: 3.164 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001088/0.5075, allocations: 0.8036 MB / 1.354 GB, free: 2.355 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5075, allocations: 0 / 1.354 GB, free: 2.355 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001152/0.5087, allocations: 351.4 kB / 1.354 GB, free: 2.012 MB / 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.007861/0.5166, allocations: 3.205 MB / 1.358 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.5201, allocations: 1.113 MB / 1.359 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5201, allocations: 4 kB / 1.359 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.5219, allocations: 0.574 MB / 1.359 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.5241, allocations: 450 kB / 1.36 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/0.5439, allocations: 9.788 MB / 1.369 GB, free: 2.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.5444, allocations: 0.5218 MB / 1.37 GB, free: 2.105 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009988/0.5454, allocations: 248.6 kB / 1.37 GB, free: 1.859 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/0.5461, allocations: 475.2 kB / 1.37 GB, free: 1.395 MB / 1.061 GB Notification: Performance of SimCode: time 1.462e-06/0.5461, allocations: 0 / 1.37 GB, free: 1.395 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08329/0.6294, allocations: 33.68 MB / 1.403 GB, free: 260 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.39, allocations: 4.062 kB / 1.403 GB, free: 256 kB / 1.092 GB " [Timeout remaining time 286] (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: 20.144115142989904]