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.001186/0.001186, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001329/0.001329, allocations: 169 kB / 24.28 MB, free: 276 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.9579/0.9579, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.752/1.752, allocations: 359 MB / 0.6055 GB, free: 11.03 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.803e-06/1.803e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.502e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001963/0.001988, allocations: 1.488 MB / 0.7885 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000835/0.002823, allocations: 448.9 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.002874, allocations: 4 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.002898, allocations: 3.938 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.002938, allocations: 5.469 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.003134, allocations: 19.92 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.003224, allocations: 31.84 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.003305, allocations: 7.984 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.003417, allocations: 25.39 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.003453, allocations: 4 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.003465, allocations: 0 / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.003503, allocations: 11.22 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.003515, allocations: 15.84 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.003534, allocations: 8 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.003625, allocations: 15.98 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.003628, allocations: 0 / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003629, allocations: 0 / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003633, allocations: 0 / 0.7891 GB, free: 10.75 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.0003142/0.003948, allocations: 364.5 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.003984, allocations: 12.02 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.004099, allocations: 9.938 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004227, allocations: 120.5 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.004236, allocations: 8.969 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.004244, allocations: 1.094 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.175e-05/0.004336, allocations: 46.95 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004341, allocations: 4.688 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.004349, allocations: 1.906 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.004357, allocations: 7.938 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.004382, allocations: 3.938 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.004631, allocations: 259.8 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.004674, allocations: 27.69 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.004697, allocations: 16.69 kB / 0.79 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.004709, allocations: 0 / 0.79 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.004728, allocations: 45.97 kB / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004729, allocations: 0 / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001313/0.00486, allocations: 46.25 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.004905, allocations: 52.78 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.004976, allocations: 165.9 kB / 0.7903 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.004984, allocations: 25.7 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.005024, allocations: 128.4 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.005042, allocations: 7.953 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.005075, allocations: 23.36 kB / 0.7904 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.005176, allocations: 496.1 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.005188, allocations: 0 / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-06/0.005198, allocations: 6.562 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.005226, allocations: 19.62 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005228, allocations: 0 / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.205e-05/0.00528, allocations: 37.69 kB / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.005293, allocations: 7.938 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005297, allocations: 1.719 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005307, allocations: 0 / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.005363, allocations: 4 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.005369, allocations: 7.984 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.005384, allocations: 4.438 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.005388, allocations: 0.875 kB / 0.791 GB, free: 8.637 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.733e-05/0.005445, allocations: 158.1 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.00546, allocations: 11.89 kB / 0.7912 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.00548, allocations: 7.562 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005481, allocations: 0 / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005485, allocations: 4 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005488, allocations: 0.5 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.11e-05/0.005579, allocations: 118.7 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00558, allocations: 0 / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.0056, allocations: 7.984 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005601, allocations: 0 / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.005608, allocations: 3.938 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005609, allocations: 0.5312 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00561, allocations: 0 / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.757e-05/0.005697, allocations: 185 kB / 0.7915 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.005704, allocations: 7.938 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005715, allocations: 8.781 kB / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.005743, allocations: 4 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.00577, allocations: 0.5 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.005773, allocations: 0 / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.005815, allocations: 143.9 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005815, allocations: 0 / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001422/0.005957, allocations: 6.094 kB / 0.7916 GB, free: 7.93 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 7.706e-05/0.006034, allocations: 95.25 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.859e-05/0.006103, allocations: 11.69 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006105, allocations: 4.531 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.006124, allocations: 19.45 kB / 0.7918 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.006277, allocations: 5.688 kB / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.006688, allocations: 130.1 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.006723, allocations: 59.34 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.00674, allocations: 0 / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.006766, allocations: 8.5 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.006766, allocations: 0 / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of Templates: time 0.001737/0.008503, allocations: 333.1 kB / 0.7923 GB, free: 7.227 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.775186219019815]