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.001456/0.001456, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001744/0.001744, allocations: 165 kB / 23.01 MB, free: 1.555 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.9664/0.9664, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.064/2.064, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 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 1.443e-06/1.443e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.562e-05, allocations: 5.75 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002103/0.002128, allocations: 1.503 MB / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.002739, allocations: 453.6 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.002789, allocations: 0 / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.002817, allocations: 3.938 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.002867, allocations: 10.77 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.003075, allocations: 23.86 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.003163, allocations: 29.03 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.28e-05/0.003246, allocations: 4 kB / 0.8802 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.003361, allocations: 27.8 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.003402, allocations: 13.02 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.003416, allocations: 4 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.858e-05/0.003455, allocations: 5.125 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.003465, allocations: 3.984 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.003485, allocations: 11.94 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.372e-05/0.003579, allocations: 16.84 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003581, allocations: 4 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.011e-06/0.003582, allocations: 0 / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.003587, allocations: 0.5 kB / 0.8802 GB, free: 4.195 MB / 0.8386 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.000328/0.003915, allocations: 366.4 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.00395, allocations: 8.031 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.00406, allocations: 12.92 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.004189, allocations: 124.5 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.004198, allocations: 1.656 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.004208, allocations: 4.375 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.004303, allocations: 46.95 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.004311, allocations: 5.219 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.004319, allocations: 384 / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.004327, allocations: 3.938 kB / 0.8808 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.004353, allocations: 8.641 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.004587, allocations: 251.8 kB / 0.881 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.004635, allocations: 36.69 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.004657, allocations: 11.75 kB / 0.8811 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.004671, allocations: 3.938 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.004693, allocations: 43.92 kB / 0.8811 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004694, allocations: 0 / 0.8811 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.004835, allocations: 41.69 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.004859, allocations: 55.41 kB / 0.8812 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.00493, allocations: 165.9 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.00494, allocations: 25.7 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.004981, allocations: 128.8 kB / 0.8815 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.004997, allocations: 7.953 kB / 0.8815 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.005023, allocations: 19.38 kB / 0.8816 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005129, allocations: 496.1 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.005143, allocations: 4 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.005154, allocations: 8.656 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/0.00518, allocations: 13.34 kB / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.005182, allocations: 0 / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.407e-05/0.005236, allocations: 45.66 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.00525, allocations: 12.52 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.005254, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.005268, allocations: 4.922 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.005327, allocations: 4 kB / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.005332, allocations: 224 / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.005348, allocations: 8 kB / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.005352, allocations: 0 / 0.8821 GB, free: 2.074 MB / 0.8386 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.854e-05/0.00541, allocations: 156.5 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.005428, allocations: 11.92 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.00545, allocations: 7.625 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005451, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.005455, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.005457, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.662e-05/0.005554, allocations: 116.6 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005555, allocations: 0 / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.005571, allocations: 8 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.005573, allocations: 0 / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005579, allocations: 3.938 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.00558, allocations: 0 / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005581, allocations: 0 / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.005713, allocations: 195.8 kB / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.005719, allocations: 0 / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.005729, allocations: 3.938 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.02e-05/0.00576, allocations: 4 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.005789, allocations: 11.92 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.005792, allocations: 4 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.005832, allocations: 127.2 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005832, allocations: 4 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001413/0.005973, allocations: 0 / 0.8827 GB, free: 1.371 MB / 0.8386 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.83e-05/0.006051, allocations: 99.23 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.191e-05/0.006123, allocations: 19.69 kB / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006124, allocations: 0 / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.00614, allocations: 11.69 kB / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.006293, allocations: 5.75 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.006712, allocations: 142.2 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.006745, allocations: 51.36 kB / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.734e-05/0.006763, allocations: 4 kB / 0.8831 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.006787, allocations: 8.5 kB / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.006788, allocations: 0 / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of Templates: time 0.001745/0.008533, allocations: 342.1 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 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.352934914175421]