Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.001308/0.001308, allocations: 109.2 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.001473/0.001473, allocations: 218.7 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 8 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.772/2.772, allocations: 476.7 MB / 0.7707 GB, free: 4.293 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,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.002066/0.002066, allocations: 68.97 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2493/0.618, allocations: 197.8 MB / 1.477 GB, free: 5.129 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.6296, allocations: 5.283 MB / 1.482 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.6313, allocations: 63.38 kB / 1.482 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.634, allocations: 0.8314 MB / 1.483 GB, free: 14.94 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007545/0.6416, allocations: 2.784 MB / 1.485 GB, free: 12.14 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.6445, allocations: 1.068 MB / 1.486 GB, free: 11.08 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004362/0.6488, allocations: 2.75 MB / 1.489 GB, free: 8.316 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.6505, allocations: 0.7657 MB / 1.49 GB, free: 7.539 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.6531, allocations: 1.168 MB / 1.491 GB, free: 6.367 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.6553, allocations: 1.062 MB / 1.492 GB, free: 5.301 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.6556, allocations: 88 kB / 1.492 GB, free: 5.215 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.6599, allocations: 1.952 MB / 1.494 GB, free: 3.258 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007725/0.6607, allocations: 470.4 kB / 1.494 GB, free: 2.797 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.6621, allocations: 0.6721 MB / 1.495 GB, free: 2.121 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.6668, allocations: 2.23 MB / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6668, allocations: 0 / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6668, allocations: 0 / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.573e-05/0.6669, allocations: 0 / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005977/0.6729, allocations: 1.958 MB / 1.499 GB, free: 13.89 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.6729, allocations: 8.031 kB / 1.499 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002538/0.6732, allocations: 143.6 kB / 1.499 GB, free: 13.73 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/0.679, allocations: 0.9041 MB / 1.5 GB, free: 12.82 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.6814, allocations: 0.9133 MB / 1.501 GB, free: 11.86 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.6815, allocations: 73.98 kB / 1.501 GB, free: 11.79 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.6818, allocations: 99.98 kB / 1.501 GB, free: 11.69 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003994/0.6858, allocations: 1.575 MB / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.6858, allocations: 0 / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.6859, allocations: 39.98 kB / 1.503 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/0.686, allocations: 53.92 kB / 1.503 GB, free: 9.988 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00548/0.6915, allocations: 1.846 MB / 1.505 GB, free: 8.141 MB / 1.201 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.009051/0.7005, allocations: 4.7 MB / 1.509 GB, free: 3.215 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004499/0.705, allocations: 1.498 MB / 1.511 GB, free: 1.711 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.7074, allocations: 0.8272 MB / 1.512 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.7085, allocations: 204.7 kB / 1.512 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002741/0.7112, allocations: 0.9066 MB / 1.513 GB, free: 15.76 MB / 1.217 GB Notification: Performance of pre-optimization done (n=95): time 4.348e-06/0.7112, allocations: 0 / 1.513 GB, free: 15.76 MB / 1.217 GB Notification: Performance of matching and sorting (n=95): time 0.00804/0.7192, allocations: 2.463 MB / 1.515 GB, free: 13.29 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.7193, allocations: 64.41 kB / 1.515 GB, free: 13.21 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.7211, allocations: 1.226 MB / 1.516 GB, free: 11.98 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.7212, allocations: 53.69 kB / 1.516 GB, free: 11.92 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.7218, allocations: 0.5572 MB / 1.517 GB, free: 11.36 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.7221, allocations: 337.1 kB / 1.517 GB, free: 11.03 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.7225, allocations: 190.6 kB / 1.517 GB, free: 10.84 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7227, allocations: 341.9 kB / 1.518 GB, free: 10.5 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.7249, allocations: 0.6967 MB / 1.518 GB, free: 9.797 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.7273, allocations: 0.9113 MB / 1.519 GB, free: 8.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/0.7318, allocations: 1.55 MB / 1.521 GB, free: 7.211 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.7318, allocations: 4 kB / 1.521 GB, free: 7.207 MB / 1.217 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00529/0.7371, allocations: 1.788 MB / 1.523 GB, free: 5.414 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.7371, allocations: 8 kB / 1.523 GB, free: 5.406 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.7371, allocations: 4 kB / 1.523 GB, free: 5.402 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.7372, allocations: 11.94 kB / 1.523 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.739, allocations: 347.9 kB / 1.523 GB, free: 5.051 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/0.739, allocations: 11.94 kB / 1.523 GB, free: 5.039 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.7408, allocations: 239 kB / 1.523 GB, free: 4.805 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.7409, allocations: 47.97 kB / 1.523 GB, free: 4.758 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006609/0.7416, allocations: 335.5 kB / 1.524 GB, free: 4.422 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.7419, allocations: 147.1 kB / 1.524 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/0.7473, allocations: 1.831 MB / 1.525 GB, free: 2.434 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.7473, allocations: 8 kB / 1.525 GB, free: 2.426 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7473, allocations: 0 / 1.525 GB, free: 2.426 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7473, allocations: 7.984 kB / 1.525 GB, free: 2.418 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008174/0.7555, allocations: 3.343 MB / 1.529 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.7555, allocations: 8 kB / 1.529 GB, free: 14.97 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.7573, allocations: 296.1 kB / 1.529 GB, free: 14.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/0.7573, allocations: 15.94 kB / 1.529 GB, free: 14.67 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.7574, allocations: 31.97 kB / 1.529 GB, free: 14.64 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/0.7574, allocations: 11.94 kB / 1.529 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7574, allocations: 4.094 kB / 1.529 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007777/0.7652, allocations: 2.88 MB / 1.532 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.7659, allocations: 254.8 kB / 1.532 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.7662, allocations: 27.98 kB / 1.532 GB, free: 11.4 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.7678, allocations: 151.8 kB / 1.532 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.768, allocations: 80.41 kB / 1.532 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.7681, allocations: 43.97 kB / 1.532 GB, free: 11.13 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001268/0.7693, allocations: 0.8478 MB / 1.533 GB, free: 10.28 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7693, allocations: 0 / 1.533 GB, free: 10.28 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001162/0.7705, allocations: 351.6 kB / 1.534 GB, free: 9.934 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01/0.7805, allocations: 3.831 MB / 1.537 GB, free: 6.191 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005087/0.7856, allocations: 1.603 MB / 1.539 GB, free: 4.59 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/0.7856, allocations: 7.938 kB / 1.539 GB, free: 4.582 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.7881, allocations: 0.8087 MB / 1.54 GB, free: 3.773 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.7913, allocations: 0.6201 MB / 1.54 GB, free: 3.164 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/0.8189, allocations: 12.19 MB / 1.552 GB, free: 6.645 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009768/0.8199, allocations: 1.195 MB / 1.553 GB, free: 5.418 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001556/0.8214, allocations: 366.1 kB / 1.554 GB, free: 5.059 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009934/0.8224, allocations: 0.5071 MB / 1.554 GB, free: 4.551 MB / 1.248 GB Notification: Performance of SimCode: time 1.042e-06/0.8224, allocations: 0 / 1.554 GB, free: 4.551 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09349/0.9159, allocations: 36.95 MB / 1.59 GB, free: 16 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/18.33, allocations: 10.53 kB / 1.59 GB, free: 12 kB / 1.279 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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: 25.106524863047525]