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.0009843/0.0009843, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009576/0.0009576, allocations: 169 kB / 24.28 MB, free: 280 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.9417/0.9417, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.827/1.827, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.124e-06/2.124e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.666e-05, allocations: 6.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002728/0.002754, allocations: 1.485 MB / 0.813 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000774/0.003528, allocations: 452.8 kB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.003584, allocations: 0 / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.003614, allocations: 3.938 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.003662, allocations: 4.594 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.003889, allocations: 29.14 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.003999, allocations: 27.86 kB / 0.8135 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.004097, allocations: 4 kB / 0.8135 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.004241, allocations: 21.48 kB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.004288, allocations: 15.97 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004305, allocations: 7.938 kB / 0.8135 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.004349, allocations: 4 kB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.004361, allocations: 1.031 kB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.004383, allocations: 8 kB / 0.8135 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.004489, allocations: 15.92 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004492, allocations: 0.6875 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004492, allocations: 0 / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004497, allocations: 8.906 kB / 0.8136 GB, free: 20 kB / 0.7605 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.0003929/0.00489, allocations: 368.6 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.004933, allocations: 8.781 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.005073, allocations: 13.77 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.005223, allocations: 120.5 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.005232, allocations: 1.625 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.005242, allocations: 4.375 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.005352, allocations: 50.94 kB / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.005358, allocations: 192 / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005369, allocations: 6.312 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.005379, allocations: 3.938 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.005412, allocations: 7.984 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.005688, allocations: 247.8 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/0.005745, allocations: 28.09 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.005773, allocations: 15.73 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.005787, allocations: 4.5 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.005813, allocations: 38.2 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.005814, allocations: 0 / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.005976, allocations: 47.31 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.006012, allocations: 55.41 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.006104, allocations: 161.9 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.006115, allocations: 29.7 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.006174, allocations: 136.4 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.006193, allocations: 3.953 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.006228, allocations: 19.38 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.006368, allocations: 496.1 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.006385, allocations: 4 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.006398, allocations: 5.547 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.006432, allocations: 11.69 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006434, allocations: 0.875 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.118e-05/0.006505, allocations: 49.58 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.006523, allocations: 9.656 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006527, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.00654, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.006607, allocations: 7.984 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.006611, allocations: 320 / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.00663, allocations: 0.625 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.006635, allocations: 4.688 kB / 0.8154 GB, free: 13.91 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 7.543e-05/0.006711, allocations: 152.6 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.006737, allocations: 12.48 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.00676, allocations: 8.719 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.006765, allocations: 3.984 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.006768, allocations: 0 / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006771, allocations: 0.5312 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.006901, allocations: 112.6 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.006904, allocations: 9.312 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.006932, allocations: 7.984 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006935, allocations: 3.938 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.006943, allocations: 5.062 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006945, allocations: 0 / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.006947, allocations: 3.984 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007067, allocations: 184.8 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.007076, allocations: 7.953 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.007089, allocations: 4.875 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.007139, allocations: 4 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.00717, allocations: 1.344 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.007175, allocations: 3.984 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.007222, allocations: 123.2 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.007222, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002379/0.00746, allocations: 4.781 kB / 0.8161 GB, free: 13.21 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 9.805e-05/0.007558, allocations: 101.2 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.007645, allocations: 23.61 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.007647, allocations: 0 / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.007666, allocations: 12.47 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.007903, allocations: 3.938 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.008416, allocations: 133.7 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.00846, allocations: 63.22 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.008479, allocations: 0 / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.008507, allocations: 12.5 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.008507, allocations: 0 / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.002264/0.01077, allocations: 337.5 kB / 0.8167 GB, free: 12.49 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.988555944990367]