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.001755/0.001755, allocations: 110 kB / 18.93 MB, free: 2.945 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.002248/0.002248, allocations: 192.4 kB / 22.23 MB, free: 5.156 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.491/1.491, allocations: 225.6 MB / 251 MB, free: 13 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.892/2.892, allocations: 476.7 MB / 0.7646 GB, free: 9.887 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.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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 63.91 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.802, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002674/0.8046, allocations: 1.437 MB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.8053, allocations: 403.1 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.8054, allocations: 0 / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.8054, allocations: 3.938 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.8054, allocations: 11.92 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.8056, allocations: 15.92 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.8056, allocations: 19.92 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.8057, allocations: 8 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.8058, allocations: 7.938 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.8059, allocations: 11.98 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.8059, allocations: 7.938 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-06/0.8059, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.8059, allocations: 3.984 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.806, allocations: 15.92 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.952e-05/0.806, allocations: 27.52 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.806, allocations: 0 / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.123e-06/0.806, allocations: 0 / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.806, allocations: 4 kB / 1.276 GB, free: 2.219 MB / 0.9669 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.0003986/0.8064, allocations: 261 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8065, allocations: 12.03 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.8065, allocations: 0.9375 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.8066, allocations: 118.5 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.8066, allocations: 384 / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.8066, allocations: 4.375 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.8068, allocations: 47.64 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8068, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.8068, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.8068, allocations: 4 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.8069, allocations: 23.91 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.8072, allocations: 220 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.8073, allocations: 34.56 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.8074, allocations: 16.91 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.8074, allocations: 0 / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.8074, allocations: 34.56 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8074, allocations: 0 / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002611/0.8077, allocations: 65.61 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.8077, allocations: 51.41 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.8078, allocations: 105.8 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.8079, allocations: 25.7 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.8079, allocations: 88.14 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.8079, allocations: 3.953 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.808, allocations: 9.719 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8081, allocations: 327 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.8082, allocations: 7.938 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.8082, allocations: 7.984 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.8083, allocations: 36.72 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8083, allocations: 3.938 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001222/0.8084, allocations: 53.64 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8084, allocations: 8.094 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8084, allocations: 4 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.8084, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.8085, allocations: 4 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.8085, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.8085, allocations: 7.922 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.8086, allocations: 4 kB / 1.278 GB, free: 492 kB / 0.9669 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 8.601e-05/0.8086, allocations: 109.8 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.8087, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.8087, allocations: 15.62 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8087, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.8087, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.8087, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.8089, allocations: 136.7 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.8089, allocations: 4.25 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.8089, allocations: 7.938 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.8089, allocations: 4 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.8089, allocations: 0 / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8089, allocations: 3.984 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8089, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.8091, allocations: 155.5 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.8091, allocations: 7.953 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.8091, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.8092, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.8092, allocations: 3.984 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.8092, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.8093, allocations: 87.31 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8093, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002163/0.8095, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 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 9.672e-05/0.8096, allocations: 99.23 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.8097, allocations: 23.92 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8097, allocations: 3.938 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.8098, allocations: 8.062 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.81, allocations: 12.66 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.8103, allocations: 122.8 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.8106, allocations: 0.6768 MB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.8107, allocations: 4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.8107, allocations: 11.38 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.8107, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.00253/0.8132, allocations: 326.2 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.666084659285843]