Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001374/0.001374, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001507/0.001507, allocations: 169 kB / 24.28 MB, free: 276 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.9743/0.9743, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.76/1.76, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.467e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003984/0.004019, allocations: 1.744 MB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.005055, allocations: 0.5011 MB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.005136, allocations: 0 / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.005177, allocations: 11.88 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.005279, allocations: 20.78 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.00559, allocations: 44.55 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.005772, allocations: 89.17 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.005912, allocations: 24.16 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.006115, allocations: 55.88 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.006199, allocations: 31.91 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.006224, allocations: 9.281 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.006274, allocations: 8 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.006298, allocations: 15.97 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.006337, allocations: 26.84 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.006519, allocations: 67.67 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.006523, allocations: 0 / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006524, allocations: 0 / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.006529, allocations: 3.938 kB / 0.7897 GB, free: 10.17 MB / 0.7448 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.0004786/0.007007, allocations: 416.3 kB / 0.7901 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.007043, allocations: 8.031 kB / 0.7901 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.007196, allocations: 26.19 kB / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.007363, allocations: 148.4 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.007373, allocations: 4.969 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.007386, allocations: 4.375 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.007547, allocations: 128.6 kB / 0.7904 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.007553, allocations: 0.7188 kB / 0.7904 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.007565, allocations: 5.969 kB / 0.7904 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.007574, allocations: 7.938 kB / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.007621, allocations: 8 kB / 0.7904 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.007989, allocations: 308.3 kB / 0.7907 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.008071, allocations: 43.67 kB / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.0081, allocations: 15.69 kB / 0.7907 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.008113, allocations: 0.6875 kB / 0.7907 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.008135, allocations: 37.42 kB / 0.7908 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.008136, allocations: 0.8438 kB / 0.7908 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.008309, allocations: 65.91 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.008344, allocations: 78.48 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.008441, allocations: 188.1 kB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.008459, allocations: 29.7 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.008517, allocations: 152.6 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.008534, allocations: 11.84 kB / 0.7913 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.008568, allocations: 27.36 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.00868, allocations: 0.4884 MB / 0.7918 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.008707, allocations: 7.984 kB / 0.7918 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.008748, allocations: 59.33 kB / 0.7919 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.008793, allocations: 19.69 kB / 0.7919 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.008797, allocations: 3.938 kB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.312e-05/0.00888, allocations: 57.64 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.008894, allocations: 4 kB / 0.7919 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.008899, allocations: 7.969 kB / 0.7919 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.008911, allocations: 2.031 kB / 0.7919 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.008982, allocations: 8 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.008987, allocations: 3.938 kB / 0.792 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.009018, allocations: 7.984 kB / 0.792 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.009024, allocations: 192 / 0.792 GB, free: 7.598 MB / 0.7448 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.972e-05/0.009094, allocations: 173 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.009115, allocations: 8.453 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.009139, allocations: 14.22 kB / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009141, allocations: 0 / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.009146, allocations: 3.984 kB / 0.7922 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.009149, allocations: 0 / 0.7922 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.009258, allocations: 140.6 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.00926, allocations: 6.344 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.00929, allocations: 8 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.009291, allocations: 0 / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.009299, allocations: 0 / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0093, allocations: 0 / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.009301, allocations: 0 / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.009423, allocations: 207.8 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.009435, allocations: 12.42 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.009453, allocations: 1.156 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.009498, allocations: 7.984 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.009545, allocations: 11.98 kB / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.009549, allocations: 0.5625 kB / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.009608, allocations: 143.9 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009608, allocations: 0 / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001517/0.009759, allocations: 20.78 kB / 0.7927 GB, free: 6.793 MB / 0.7448 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 9.543e-05/0.009855, allocations: 103.4 kB / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.009961, allocations: 23.67 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.009963, allocations: 4 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.009992, allocations: 19.62 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.01018, allocations: 14.61 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.01076, allocations: 190.1 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.01079, allocations: 55.36 kB / 0.7931 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.01083, allocations: 12.11 kB / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.01086, allocations: 16.5 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01086, allocations: 3.938 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of Templates: time 0.002471/0.01333, allocations: 0.9406 MB / 0.794 GB, free: 5.398 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.9712667730636895]