Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0009751/0.0009751, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009845/0.0009845, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.9517/0.9517, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.303/2.303, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.8898 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.542e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002358/0.002384, allocations: 1.512 MB / 0.8912 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.002991, allocations: 442.9 kB / 0.8917 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.003046, allocations: 0 / 0.8917 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.003073, allocations: 3.938 kB / 0.8917 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.003121, allocations: 4 kB / 0.8917 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.003329, allocations: 27.89 kB / 0.8917 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.003428, allocations: 27.88 kB / 0.8917 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.003517, allocations: 11.98 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.003643, allocations: 19.92 kB / 0.8917 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.003687, allocations: 11.92 kB / 0.8918 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.0037, allocations: 3.938 kB / 0.8918 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.003743, allocations: 8 kB / 0.8918 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.003755, allocations: 3.984 kB / 0.8918 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.003771, allocations: 8 kB / 0.8918 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.275e-05/0.003864, allocations: 23.92 kB / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003867, allocations: 0 / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003868, allocations: 0 / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.003872, allocations: 0 / 0.8918 GB, free: 7.684 MB / 0.8542 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.0003203/0.004192, allocations: 368.5 kB / 0.8922 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.004236, allocations: 12.62 kB / 0.8922 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.004343, allocations: 8.938 kB / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.004458, allocations: 124.5 kB / 0.8923 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.004465, allocations: 384 / 0.8923 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-06/0.00447, allocations: 384 / 0.8923 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.004554, allocations: 50.95 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.004562, allocations: 192 / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004569, allocations: 8.375 kB / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.004576, allocations: 7.875 kB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.004595, allocations: 0 / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.004826, allocations: 236.5 kB / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.004869, allocations: 27.06 kB / 0.8926 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.004887, allocations: 15.67 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.004903, allocations: 4.062 kB / 0.8926 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.004925, allocations: 41.33 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004926, allocations: 0 / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.005056, allocations: 45.62 kB / 0.8927 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.005083, allocations: 51.41 kB / 0.8928 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.005155, allocations: 165.9 kB / 0.8929 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.005166, allocations: 25.7 kB / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.005218, allocations: 138.8 kB / 0.8931 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.005234, allocations: 3.938 kB / 0.8931 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.005269, allocations: 27.36 kB / 0.8931 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.005395, allocations: 492.1 kB / 0.8936 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.005406, allocations: 4.125 kB / 0.8936 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.005414, allocations: 4 kB / 0.8936 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.00544, allocations: 15.62 kB / 0.8936 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005442, allocations: 0 / 0.8936 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.209e-05/0.005494, allocations: 41.64 kB / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005506, allocations: 4 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.005514, allocations: 7.938 kB / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.005525, allocations: 0 / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/0.005578, allocations: 4 kB / 0.8937 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.005581, allocations: 4.094 kB / 0.8937 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.005596, allocations: 3.984 kB / 0.8937 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.0056, allocations: 0 / 0.8937 GB, free: 5.582 MB / 0.8542 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 6.939e-05/0.00567, allocations: 164.6 kB / 0.8938 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.005682, allocations: 3.938 kB / 0.8938 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.005709, allocations: 7.562 kB / 0.8938 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.005712, allocations: 4 kB / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005713, allocations: 0 / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005716, allocations: 0 / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.005815, allocations: 97.25 kB / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.005817, allocations: 4 kB / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.005832, allocations: 4 kB / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.005834, allocations: 0 / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.005839, allocations: 0 / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.00584, allocations: 0 / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.005842, allocations: 3.938 kB / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.005958, allocations: 191.9 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.005964, allocations: 0 / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.005974, allocations: 4 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.006002, allocations: 0 / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.006029, allocations: 15.89 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.006032, allocations: 0 / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.006076, allocations: 127.2 kB / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.006076, allocations: 0 / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001329/0.006209, allocations: 11.94 kB / 0.8943 GB, free: 4.895 MB / 0.8542 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.0001003/0.00631, allocations: 99.23 kB / 0.8944 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.006375, allocations: 15.69 kB / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006377, allocations: 0 / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.006392, allocations: 11.75 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.006541, allocations: 8.062 kB / 0.8944 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.006961, allocations: 142.2 kB / 0.8945 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.007002, allocations: 51.36 kB / 0.8946 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.007018, allocations: 0 / 0.8946 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.00707, allocations: 74.19 kB / 0.8947 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.007071, allocations: 0 / 0.8947 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of Templates: time 0.001688/0.008759, allocations: 371.6 kB / 0.895 GB, free: 4.105 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_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: 5.13643046002835]