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.001353/0.001353, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.0009557/0.0009557, allocations: 165 kB / 23.82 MB, free: 0.7383 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.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.826/1.826, allocations: 377.9 MB / 0.6236 GB, free: 8.547 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.043e-06/2.043e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.949e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001956/0.001985, allocations: 1.491 MB / 0.813 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005858/0.002571, allocations: 462 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.002617, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.002645, allocations: 7.922 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.002687, allocations: 4 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.002887, allocations: 21.7 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.894e-05/0.002976, allocations: 27.86 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.003055, allocations: 7.984 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.003166, allocations: 19.92 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.003205, allocations: 13.64 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.003218, allocations: 4 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.003258, allocations: 8 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.003267, allocations: 0 / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.003286, allocations: 13.33 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.108e-05/0.003377, allocations: 23.91 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003379, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00338, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003383, allocations: 1.906 kB / 0.8136 GB, free: 15.66 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.0003083/0.003692, allocations: 360.6 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.003728, allocations: 8.031 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.003833, allocations: 16.86 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.003993, allocations: 118.9 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.004005, allocations: 4.375 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.004017, allocations: 4.375 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.004126, allocations: 46.95 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.004134, allocations: 192 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004144, allocations: 4.359 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.004152, allocations: 4.656 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.004178, allocations: 4 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.004407, allocations: 252.3 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.004452, allocations: 32.75 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.004475, allocations: 15.75 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.00449, allocations: 0 / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.00451, allocations: 37.33 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004511, allocations: 0.6562 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.004642, allocations: 50.86 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.004666, allocations: 55.41 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.004732, allocations: 169.9 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.00474, allocations: 26.86 kB / 0.8147 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.004778, allocations: 126.9 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.004794, allocations: 7.953 kB / 0.8149 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.004818, allocations: 20.75 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.004916, allocations: 0.4883 MB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.004927, allocations: 4 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-06/0.004935, allocations: 1.156 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.00496, allocations: 15.69 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004962, allocations: 4.5 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.621e-05/0.005008, allocations: 42.12 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.00502, allocations: 8.781 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.005024, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.005038, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.005095, allocations: 4.844 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.0051, allocations: 320 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.005115, allocations: 5.719 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.005119, allocations: 4 kB / 0.8154 GB, free: 13.55 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 0.0001601/0.00528, allocations: 156.6 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.005296, allocations: 11.89 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.005314, allocations: 4.438 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.005316, allocations: 0 / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.005318, allocations: 2.25 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.005322, allocations: 3.984 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.005403, allocations: 120.6 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.005404, allocations: 0 / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.005419, allocations: 4 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005421, allocations: 0 / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.005428, allocations: 10.03 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005428, allocations: 0 / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00543, allocations: 7.922 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.791e-05/0.005508, allocations: 187.9 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.005513, allocations: 3.953 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.005523, allocations: 4.438 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/0.005551, allocations: 4.531 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.005576, allocations: 3.984 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.005578, allocations: 1.344 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.00561, allocations: 127.2 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00561, allocations: 4 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001347/0.005744, allocations: 0.6562 kB / 0.8161 GB, free: 12.85 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 7.335e-05/0.005818, allocations: 99.89 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.337e-05/0.005891, allocations: 28.09 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.005892, allocations: 3.5 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.005907, allocations: 11.69 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.006057, allocations: 3.938 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.006458, allocations: 134.3 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.006489, allocations: 51.36 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.006507, allocations: 6.094 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.00653, allocations: 12.48 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.00653, allocations: 3.938 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.001579/0.008109, allocations: 331.6 kB / 0.8167 GB, free: 12.13 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.966523136943579]