Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.88 kB / 1.104 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9514/0.9535, allocations: 168.7 MB / 1.269 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00333/0.9568, allocations: 1.439 MB / 1.27 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006709/0.9575, allocations: 401.4 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.9575, allocations: 0.7188 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.9576, allocations: 4.828 kB / 1.271 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.9576, allocations: 4.625 kB / 1.271 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.9578, allocations: 8.781 kB / 1.271 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.09e-05/0.9579, allocations: 24.73 kB / 1.271 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.9579, allocations: 7.688 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.958, allocations: 19.77 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.9581, allocations: 6.047 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.9581, allocations: 1.406 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.9581, allocations: 2.031 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.9581, allocations: 13.52 kB / 1.271 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.9582, allocations: 8.219 kB / 1.271 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.331e-05/0.9582, allocations: 28.91 kB / 1.271 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.9583, allocations: 1.516 kB / 1.271 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9583, allocations: 0 / 1.271 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9583, allocations: 0 / 1.271 GB, free: 6.402 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000371/0.9586, allocations: 344.4 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.9587, allocations: 9.688 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.9587, allocations: 32.25 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.9587, allocations: 2.781 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.727e-05/0.9588, allocations: 168 kB / 1.271 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.9588, allocations: 1.375 kB / 1.271 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.9589, allocations: 1.5 kB / 1.271 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.959, allocations: 46.2 kB / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.959, allocations: 0 / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.959, allocations: 4 kB / 1.271 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.959, allocations: 0.8125 kB / 1.271 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.9591, allocations: 23.53 kB / 1.271 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.9594, allocations: 246.9 kB / 1.271 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.166e-05/0.9595, allocations: 34.17 kB / 1.272 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.9596, allocations: 22.78 kB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.9596, allocations: 0 / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.9596, allocations: 36.45 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.9596, allocations: 0 / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002405/0.9599, allocations: 55.81 kB / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.9599, allocations: 52.72 kB / 1.272 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.96, allocations: 108.3 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.96, allocations: 26.48 kB / 1.272 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.96, allocations: 86.14 kB / 1.272 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.96, allocations: 9.844 kB / 1.272 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.9601, allocations: 21.27 kB / 1.272 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.9601, allocations: 316.7 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.9602, allocations: 6.984 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.9602, allocations: 11.83 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.9603, allocations: 32.33 kB / 1.272 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9603, allocations: 0 / 1.272 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001087/0.9604, allocations: 58.8 kB / 1.272 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9604, allocations: 5.406 kB / 1.272 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9604, allocations: 0 / 1.272 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.9604, allocations: 1.719 kB / 1.272 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.9605, allocations: 5.594 kB / 1.272 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.9605, allocations: 4.031 kB / 1.272 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.9605, allocations: 3.094 kB / 1.272 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.9605, allocations: 1 kB / 1.272 GB, free: 4.645 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.206e-05/0.9606, allocations: 112.6 kB / 1.272 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.9606, allocations: 2.141 kB / 1.272 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.9606, allocations: 9.062 kB / 1.272 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9606, allocations: 5.297 kB / 1.272 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9606, allocations: 3.938 kB / 1.272 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9606, allocations: 0.875 kB / 1.272 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.9608, allocations: 164.4 kB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9608, allocations: 0.7812 kB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.9608, allocations: 5.5 kB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9608, allocations: 1.031 kB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.9608, allocations: 0.7031 kB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9608, allocations: 0.5625 kB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9608, allocations: 0 / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.961, allocations: 158.5 kB / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.961, allocations: 83.58 kB / 1.273 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.961, allocations: 0 / 1.273 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.9611, allocations: 3.391 kB / 1.273 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.9611, allocations: 5.859 kB / 1.273 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.9611, allocations: 0.8125 kB / 1.273 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.9611, allocations: 85.86 kB / 1.273 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9611, allocations: 0.7188 kB / 1.273 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002091/0.9613, allocations: 6.969 kB / 1.273 GB, free: 3.977 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003057/0.9616, allocations: 0.6859 MB / 1.274 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.9618, allocations: 21.31 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9618, allocations: 0.875 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.9618, allocations: 17.89 kB / 1.274 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.962, allocations: 1.906 kB / 1.274 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.9624, allocations: 155.1 kB / 1.274 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.9626, allocations: 0.6816 MB / 1.274 GB, free: 18.44 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.9627, allocations: 1.125 kB / 1.274 GB, free: 18.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.9627, allocations: 9.344 kB / 1.274 GB, free: 18.43 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9627, allocations: 4.062 kB / 1.274 GB, free: 18.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.989, allocations: 1.231 MB / 1.276 GB, free: 18.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/9.033, allocations: 7.312 kB / 1.276 GB, free: 18.07 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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: 15.107369566801935]