Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000925/0.000925, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009807/0.0009807, allocations: 181 kB / 24.09 MB, free: 420 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.9666/0.9666, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.806/1.806, allocations: 377.9 MB / 0.6239 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.267e-05, allocations: 7.219 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002047/0.00207, allocations: 1.495 MB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007003/0.00277, allocations: 456.1 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.002834, allocations: 1.594 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.002863, allocations: 3.938 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.002921, allocations: 3.938 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.003157, allocations: 23.91 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.003263, allocations: 29.64 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.003358, allocations: 3.984 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.003508, allocations: 27.86 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.003555, allocations: 8 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.003569, allocations: 0.875 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.807e-05/0.003617, allocations: 7.984 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.003632, allocations: 4.516 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.003651, allocations: 12.66 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.003749, allocations: 19.92 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003751, allocations: 0.5312 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003752, allocations: 0 / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003757, allocations: 1.312 kB / 0.814 GB, free: 15.37 MB / 0.7761 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.0003391/0.004096, allocations: 364.6 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.004144, allocations: 16.02 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.004257, allocations: 5.469 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.004377, allocations: 125.9 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.004385, allocations: 384 / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.004391, allocations: 384 / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.004478, allocations: 52.11 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004485, allocations: 192 / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.004491, allocations: 4.375 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.004498, allocations: 9.062 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.004518, allocations: 3.938 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.004747, allocations: 236.5 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.004792, allocations: 28.19 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.004808, allocations: 7.688 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.004826, allocations: 4.875 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.004847, allocations: 33.39 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004848, allocations: 1.281 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001259/0.004973, allocations: 53.52 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.005005, allocations: 51.41 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.005077, allocations: 166.8 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.005087, allocations: 25.7 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.005134, allocations: 132.1 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.005152, allocations: 7.938 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.005178, allocations: 23.38 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.005303, allocations: 497.4 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.005313, allocations: 0 / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.019e-05/0.005323, allocations: 4 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.005352, allocations: 17.25 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005354, allocations: 0 / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.677e-05/0.005411, allocations: 37.69 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.005425, allocations: 6.719 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.005433, allocations: 3.938 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.005445, allocations: 4 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.005504, allocations: 4 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.005507, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.00552, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005525, allocations: 4 kB / 0.8159 GB, free: 13.3 MB / 0.7761 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.55e-05/0.00559, allocations: 161.1 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.005603, allocations: 4.484 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.005625, allocations: 7.562 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.005628, allocations: 5.938 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.005631, allocations: 3.938 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.005635, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.273e-05/0.005727, allocations: 105.2 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.00573, allocations: 4 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.005743, allocations: 8.781 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005744, allocations: 0 / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.005749, allocations: 4.828 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005749, allocations: 0 / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.005752, allocations: 4.594 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.005855, allocations: 186.8 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.005861, allocations: 3.953 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.005869, allocations: 0 / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.005895, allocations: 4 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.005931, allocations: 7.922 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.005933, allocations: 0 / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.005973, allocations: 127.2 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005973, allocations: 3.938 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001308/0.006104, allocations: 6.625 kB / 0.8165 GB, free: 12.62 MB / 0.7761 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 8.605e-05/0.00619, allocations: 95.25 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.318e-05/0.006253, allocations: 23.66 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006254, allocations: 0 / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.006271, allocations: 12.62 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.006414, allocations: 0 / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.006799, allocations: 139.3 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.479e-05/0.006834, allocations: 52.39 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.296e-05/0.006847, allocations: 0 / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.006897, allocations: 71.33 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.006897, allocations: 0 / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.001869/0.008766, allocations: 364.1 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.877940020058304]