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.001368/0.001368, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001325/0.001325, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.429/1.429, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.756/2.756, allocations: 476.7 MB / 0.7629 GB, free: 15.13 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: 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.002723/0.002723, allocations: 63.89 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9263/0.9291, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00254/0.9316, allocations: 1.456 MB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.9322, allocations: 397 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.9323, allocations: 0 / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.9323, allocations: 5.484 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.9324, allocations: 4.875 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.9325, allocations: 8.594 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.9326, allocations: 24.19 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.9327, allocations: 12.52 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.9328, allocations: 10.7 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.9328, allocations: 10.39 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.9328, allocations: 9.625 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.9329, allocations: 1.219 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.9329, allocations: 2.609 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.9329, allocations: 12.27 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.412e-05/0.933, allocations: 26.41 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.933, allocations: 0.9688 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.933, allocations: 4.656 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.933, allocations: 0 / 1.274 GB, free: 6.562 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.0003626/0.9334, allocations: 335.7 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.9334, allocations: 9.188 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.9334, allocations: 10.61 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.461e-05/0.9335, allocations: 167.5 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.9335, allocations: 1.25 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.9335, allocations: 2.031 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.9337, allocations: 51.92 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.9337, allocations: 0 / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.9337, allocations: 0 / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.9337, allocations: 0.75 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.9338, allocations: 24.36 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.9341, allocations: 247.2 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.9341, allocations: 32.97 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.9342, allocations: 18.45 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.9342, allocations: 0 / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.9342, allocations: 31.53 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.9342, allocations: 3.938 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.9345, allocations: 61.03 kB / 1.275 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.9345, allocations: 57.08 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.9346, allocations: 104.3 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.9346, allocations: 25.7 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.9346, allocations: 84.05 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.9346, allocations: 9.172 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.9346, allocations: 12.41 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.9347, allocations: 313 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.9347, allocations: 17.05 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.9348, allocations: 9.031 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.9348, allocations: 31.7 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9348, allocations: 0.9375 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.9349, allocations: 55.05 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.935, allocations: 5.281 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.935, allocations: 0 / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.935, allocations: 1.031 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.9351, allocations: 10.33 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9351, allocations: 0.8125 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.9351, allocations: 5.906 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.9351, allocations: 1.969 kB / 1.276 GB, free: 4.855 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.484e-05/0.9352, allocations: 116.3 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.9352, allocations: 1.531 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.9352, allocations: 4.281 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9352, allocations: 2.547 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9352, allocations: 4 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9352, allocations: 4.891 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.9354, allocations: 163.8 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9354, allocations: 3.938 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.9354, allocations: 10.81 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9354, allocations: 0 / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.9354, allocations: 5 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9354, allocations: 0 / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9354, allocations: 2.766 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.9355, allocations: 151.7 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.9356, allocations: 78.98 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.9356, allocations: 1.438 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.9356, allocations: 2.75 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.9357, allocations: 2.562 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.9357, allocations: 1 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.9357, allocations: 86.8 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9357, allocations: 0 / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002166/0.9359, allocations: 8.031 kB / 1.276 GB, free: 4.188 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.0001029/0.936, allocations: 101.4 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.9362, allocations: 21.8 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9362, allocations: 3.938 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.9362, allocations: 12.84 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.9364, allocations: 9.156 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.9367, allocations: 133.4 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.9368, allocations: 0.6784 MB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.9368, allocations: 1.188 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.9369, allocations: 7.438 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.9369, allocations: 0.6562 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of Templates: time 0.002604/0.9395, allocations: 322.1 kB / 1.277 GB, free: 3.188 MB / 0.9981 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.613352137617767]