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.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.001908/0.001908, allocations: 79.75 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002102/0.002102, allocations: 157.4 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.908/2.908, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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 1.873e-06/1.873e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.197e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.004283/0.004315, allocations: 1.467 MB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.005569, allocations: 457 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.00563, allocations: 0 / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.005663, allocations: 3.938 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.005731, allocations: 4.5 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.005991, allocations: 16.61 kB / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.006127, allocations: 31.86 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.006226, allocations: 4.906 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.006415, allocations: 23.95 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.00647, allocations: 8.656 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.006488, allocations: 3.531 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.006537, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.006558, allocations: 7.922 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.006587, allocations: 8 kB / 0.7884 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.006731, allocations: 31.89 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006735, allocations: 0 / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.006736, allocations: 0 / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.006741, allocations: 3.938 kB / 0.7884 GB, free: 10.79 MB / 0.7448 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.000635/0.007376, allocations: 368.2 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.00742, allocations: 8.031 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.007623, allocations: 13.64 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.007851, allocations: 118.2 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.007864, allocations: 384 / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.007881, allocations: 8.375 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.008047, allocations: 34.25 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.008056, allocations: 1.531 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.008066, allocations: 384 / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.008074, allocations: 7.938 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.008184, allocations: 13.59 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.008647, allocations: 255.8 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.008782, allocations: 35.06 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.008865, allocations: 24.56 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.00889, allocations: 4 kB / 0.7892 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.008938, allocations: 39.08 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.008939, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000346/0.009285, allocations: 61.58 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.009346, allocations: 56.03 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.009543, allocations: 165.9 kB / 0.7895 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.00957, allocations: 26.39 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.00969, allocations: 138.8 kB / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.009709, allocations: 4.516 kB / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.009777, allocations: 28.48 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003836/0.01016, allocations: 492.1 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.01022, allocations: 8 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.01026, allocations: 8.516 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.01036, allocations: 24.94 kB / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01037, allocations: 0 / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.01054, allocations: 54.72 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.01056, allocations: 7.938 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01057, allocations: 0.9375 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01058, allocations: 0 / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.01067, allocations: 7.984 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01068, allocations: 0.9062 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.01072, allocations: 4 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01073, allocations: 9.281 kB / 0.7903 GB, free: 8.613 MB / 0.7448 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 0.0001608/0.01089, allocations: 156.6 kB / 0.7905 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.01095, allocations: 13.08 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.01097, allocations: 3.625 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01098, allocations: 0 / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01098, allocations: 0.8438 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.01099, allocations: 3.984 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.01123, allocations: 124.6 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01123, allocations: 2.219 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.01129, allocations: 7.984 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01129, allocations: 3.938 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.0113, allocations: 3.938 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01131, allocations: 0 / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01131, allocations: 6.875 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.0116, allocations: 191.9 kB / 0.7908 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.01161, allocations: 0 / 0.7908 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.01163, allocations: 3.938 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.01173, allocations: 4 kB / 0.7908 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.01179, allocations: 3.984 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.01179, allocations: 0 / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001793/0.01197, allocations: 136.7 kB / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01197, allocations: 0 / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003947/0.01237, allocations: 4 kB / 0.791 GB, free: 7.902 MB / 0.7448 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.0001641/0.01253, allocations: 99.86 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.01271, allocations: 24.19 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01271, allocations: 4.562 kB / 0.7911 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.01278, allocations: 20.39 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.01313, allocations: 5.219 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.01355, allocations: 130.2 kB / 0.7912 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.01364, allocations: 60.12 kB / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01368, allocations: 8.906 kB / 0.7913 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.01372, allocations: 8.5 kB / 0.7913 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01372, allocations: 0.6562 kB / 0.7913 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.003769/0.01749, allocations: 334.8 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] 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: 7.920680019888096]