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.00139/0.00139, allocations: 77.88 kB / 20.68 MB, free: 3.824 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.001529/0.001529, allocations: 180.9 kB / 24.09 MB, free: 428 kB / 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 0.9083/0.9083, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.913e-06/1.913e-06, allocations: 0.7656 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.993e-05, allocations: 5.5 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001921/0.001941, allocations: 1.488 MB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006028/0.002544, allocations: 452 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.0026, allocations: 5.562 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.002626, allocations: 3.938 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.002673, allocations: 7.875 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.002858, allocations: 19.95 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.002938, allocations: 28.77 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.00301, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.003137, allocations: 36.58 kB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.003177, allocations: 3.984 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003194, allocations: 5.312 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.003234, allocations: 7.984 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.003245, allocations: 7.938 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.00326, allocations: 6.031 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.42e-05/0.003344, allocations: 15.98 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.003348, allocations: 3.984 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003348, allocations: 0 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003351, allocations: 0 / 0.7896 GB, free: 10.12 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.0002906/0.003642, allocations: 366.8 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.003679, allocations: 8.031 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.003779, allocations: 8.938 kB / 0.7899 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.003885, allocations: 124.5 kB / 0.7901 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.003894, allocations: 4.375 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-06/0.003899, allocations: 4.812 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.497e-05/0.003974, allocations: 50.89 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.00398, allocations: 1.75 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.003985, allocations: 384 / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.00399, allocations: 3.938 kB / 0.7901 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.004008, allocations: 7.984 kB / 0.7901 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.004193, allocations: 229.8 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.004231, allocations: 27.06 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.004249, allocations: 21.48 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.004264, allocations: 7.922 kB / 0.7904 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.004286, allocations: 37.39 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.004287, allocations: 0 / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001055/0.004393, allocations: 42.5 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.004417, allocations: 51.41 kB / 0.7905 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.004481, allocations: 166.5 kB / 0.7907 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.00449, allocations: 25.7 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.004532, allocations: 140.8 kB / 0.7909 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.004549, allocations: 7.938 kB / 0.7909 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.004575, allocations: 19.38 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.00468, allocations: 492.1 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.004688, allocations: 3.938 kB / 0.7914 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-06/0.004696, allocations: 6.469 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.00472, allocations: 19.67 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004722, allocations: 0 / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.236e-05/0.004764, allocations: 33.7 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.004775, allocations: 4 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004779, allocations: 4.656 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.00479, allocations: 0 / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.004835, allocations: 8.516 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.004837, allocations: 1.969 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.004851, allocations: 4 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.004855, allocations: 3.938 kB / 0.7914 GB, free: 8.039 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 5.307e-05/0.004908, allocations: 152.6 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.004922, allocations: 8.609 kB / 0.7916 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.004941, allocations: 11.56 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004943, allocations: 1.188 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.004944, allocations: 3.938 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.004947, allocations: 4 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.808e-05/0.005035, allocations: 102.4 kB / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005036, allocations: 0 / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.005051, allocations: 4 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005052, allocations: 0.875 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.005057, allocations: 4 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.005059, allocations: 4.828 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.00506, allocations: 3.938 kB / 0.7917 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/0.005147, allocations: 185.2 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.005153, allocations: 7.891 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.005161, allocations: 3.984 kB / 0.7919 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.005191, allocations: 4.812 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.005211, allocations: 3.938 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.005213, allocations: 0.875 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.005247, allocations: 135.1 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005247, allocations: 1.562 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001286/0.005375, allocations: 4 kB / 0.7921 GB, free: 7.359 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 6.858e-05/0.005444, allocations: 95.25 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.374e-05/0.005498, allocations: 16.84 kB / 0.7922 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.0055, allocations: 4 kB / 0.7922 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.005514, allocations: 14.86 kB / 0.7922 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.00565, allocations: 4 kB / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.005983, allocations: 130.1 kB / 0.7923 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.006013, allocations: 55.36 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.643e-05/0.006029, allocations: 3.984 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.006067, allocations: 70.7 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.006068, allocations: 1.688 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.0016/0.007668, allocations: 358.5 kB / 0.7928 GB, free: 6.574 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.620738227851689]