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.0009968/0.0009968, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001451/0.001451, allocations: 169.3 kB / 23.82 MB, free: 0.7461 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.9076/0.9076, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.734/1.734, allocations: 359 MB / 0.6052 GB, free: 10.99 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.372e-06/1.372e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.826e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001724/0.001743, allocations: 1.487 MB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.002708, allocations: 469.3 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.002758, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.002784, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.002827, allocations: 8.969 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.003016, allocations: 11.98 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.003101, allocations: 36.97 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.003184, allocations: 0 / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.003305, allocations: 27.86 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.003347, allocations: 13.17 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.003361, allocations: 4 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.003398, allocations: 4 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.003409, allocations: 9.453 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.003426, allocations: 7.984 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.708e-05/0.003513, allocations: 19.92 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003515, allocations: 0 / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003516, allocations: 1.125 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003519, allocations: 0 / 0.7891 GB, free: 10.38 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.0003056/0.003825, allocations: 360.6 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.003858, allocations: 9 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.00396, allocations: 12.92 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.004081, allocations: 126.1 kB / 0.7896 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.004089, allocations: 384 / 0.7896 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.0041, allocations: 8.312 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.004191, allocations: 46.95 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.004198, allocations: 1.5 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.00421, allocations: 8.125 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.004216, allocations: 0 / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.00424, allocations: 6.938 kB / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.004472, allocations: 255.8 kB / 0.7899 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.004517, allocations: 34.98 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.00454, allocations: 11.75 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.004552, allocations: 0 / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.004571, allocations: 37.33 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.004572, allocations: 0.7188 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.004704, allocations: 51.3 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.004728, allocations: 51.41 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.004793, allocations: 169.9 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.004801, allocations: 25.7 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.004839, allocations: 130.9 kB / 0.7904 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.004855, allocations: 13.05 kB / 0.7904 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.004878, allocations: 19.36 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004978, allocations: 0.4884 MB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.00499, allocations: 1.75 kB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.004997, allocations: 0 / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/0.005022, allocations: 15.69 kB / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005024, allocations: 1.188 kB / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.886e-05/0.005073, allocations: 45.62 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005083, allocations: 4 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005086, allocations: 1.594 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005098, allocations: 3.938 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.005156, allocations: 8 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.00516, allocations: 0 / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.005175, allocations: 9.703 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.005179, allocations: 320 / 0.791 GB, free: 8.262 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.203e-05/0.005231, allocations: 152.6 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.005247, allocations: 11.89 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.005267, allocations: 8.5 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005268, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.005272, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.005274, allocations: 0.5312 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.926e-05/0.005353, allocations: 121.3 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005354, allocations: 0 / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.005367, allocations: 4.531 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005368, allocations: 1.312 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.005375, allocations: 3.938 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005376, allocations: 3.984 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005376, allocations: 0 / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.728e-05/0.005454, allocations: 184.4 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.00546, allocations: 5.375 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.00547, allocations: 7.922 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.005496, allocations: 4 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.005521, allocations: 1.156 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.005523, allocations: 0 / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.005565, allocations: 135.2 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005565, allocations: 0.8125 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001353/0.005701, allocations: 11.89 kB / 0.7916 GB, free: 7.562 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.26e-05/0.005763, allocations: 97.59 kB / 0.7917 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.005827, allocations: 17.03 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.005829, allocations: 0 / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.005844, allocations: 19.61 kB / 0.7918 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.005989, allocations: 2.938 kB / 0.7918 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.006368, allocations: 132.2 kB / 0.7919 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.006398, allocations: 55.34 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.529e-05/0.006413, allocations: 4 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.006437, allocations: 9.188 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.006437, allocations: 0 / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.001668/0.008105, allocations: 339.3 kB / 0.7923 GB, free: 6.859 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.827328412327915]