Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.00135/0.00135, allocations: 87.58 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.001197/0.001197, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9648/0.9648, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.801/1.801, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.919e-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.ChillerSwitch): time 0.002081/0.0021, allocations: 1.754 MB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.002825, allocations: 0.504 MB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.002883, allocations: 0 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.002918, allocations: 12.52 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.557e-05/0.002994, allocations: 16.69 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.003214, allocations: 49.12 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003331, allocations: 91.62 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.003426, allocations: 24.16 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.003551, allocations: 53.61 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.003612, allocations: 27.91 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.00363, allocations: 8 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.003668, allocations: 8 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.003686, allocations: 21.17 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.003715, allocations: 27.91 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.003843, allocations: 67.62 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003844, allocations: 0 / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003845, allocations: 5.531 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003849, allocations: 0 / 0.8141 GB, free: 15.08 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004228/0.004272, allocations: 412.3 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.00431, allocations: 12.88 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.004453, allocations: 33.73 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.004612, allocations: 151 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.00462, allocations: 1.031 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.004634, allocations: 8.375 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.004792, allocations: 121.9 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.0048, allocations: 192 / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.004813, allocations: 4.375 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.004821, allocations: 3.938 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.00487, allocations: 16.59 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.005198, allocations: 308.4 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.005275, allocations: 44.22 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.005302, allocations: 15.77 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.005317, allocations: 0 / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.005341, allocations: 46.02 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005341, allocations: 1.125 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.005497, allocations: 53.64 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.005532, allocations: 81.11 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.005621, allocations: 190.8 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.005636, allocations: 29.7 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.00569, allocations: 142.8 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.005708, allocations: 20.36 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.005742, allocations: 28.41 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.005851, allocations: 0.4884 MB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.005873, allocations: 4 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.005913, allocations: 62.81 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.005955, allocations: 19.81 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.005958, allocations: 7.938 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.493e-05/0.006033, allocations: 57.64 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.006045, allocations: 4 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.006049, allocations: 0.8125 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.006061, allocations: 4 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.006129, allocations: 8.922 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.006134, allocations: 0 / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.006164, allocations: 9.344 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.006169, allocations: 0 / 0.8164 GB, free: 12.5 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: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.673e-05/0.006236, allocations: 168.5 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.006256, allocations: 12.81 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.006279, allocations: 8.344 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.00628, allocations: 2.156 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006283, allocations: 4 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006285, allocations: 0 / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.006391, allocations: 136.6 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006393, allocations: 3.938 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.006426, allocations: 7.984 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.006429, allocations: 4.562 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.006437, allocations: 3.438 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006438, allocations: 0 / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006439, allocations: 0 / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.00655, allocations: 199.8 kB / 0.8169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.006563, allocations: 15.88 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.00658, allocations: 0 / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.006627, allocations: 12 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.006667, allocations: 3.984 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.006673, allocations: 7.984 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.006736, allocations: 141.1 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.006736, allocations: 0.5 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000149/0.006885, allocations: 19.94 kB / 0.8171 GB, free: 11.71 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.865e-05/0.006953, allocations: 105.4 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.558e-05/0.007049, allocations: 35.73 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00705, allocations: 0 / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.007078, allocations: 23.61 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.007247, allocations: 13.16 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.007749, allocations: 180.3 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.007783, allocations: 59.34 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.00781, allocations: 7.656 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.007842, allocations: 12.5 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.007843, allocations: 0 / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.002438/0.01028, allocations: 0.9399 MB / 0.8185 GB, free: 10.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.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.038599328137934]