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.001488/0.001488, 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.001869/0.001869, allocations: 161 kB / 23.82 MB, free: 0.75 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.9568/0.9568, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.783/1.783, allocations: 359 MB / 0.6052 GB, free: 11.02 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.074e-06/2.074e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.076e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003276/0.003307, allocations: 1.74 MB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004403, allocations: 0.5009 MB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.004487, allocations: 3.938 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.00453, allocations: 7.922 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.004638, allocations: 17.06 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.004946, allocations: 49.47 kB / 0.7894 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.005117, allocations: 83.7 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.005246, allocations: 28.09 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.005442, allocations: 59.81 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.00556, allocations: 21.5 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.005584, allocations: 8 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.005638, allocations: 12 kB / 0.7896 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.005661, allocations: 15.92 kB / 0.7896 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.005703, allocations: 29.5 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.005871, allocations: 67.75 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005874, allocations: 0 / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005875, allocations: 0 / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.005881, allocations: 0 / 0.7897 GB, free: 9.875 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.0005163/0.006397, allocations: 415.7 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.006442, allocations: 12.03 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.006651, allocations: 24.88 kB / 0.7901 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.006864, allocations: 146.2 kB / 0.7902 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.006877, allocations: 4.375 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.006898, allocations: 4.375 kB / 0.7902 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.007111, allocations: 128.6 kB / 0.7904 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.143e-05/0.007192, allocations: 8.594 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.007206, allocations: 384 / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.007217, allocations: 4.656 kB / 0.7904 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.007287, allocations: 19.98 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.007745, allocations: 312.9 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.007854, allocations: 43.59 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.007892, allocations: 15.69 kB / 0.7908 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.007912, allocations: 5.125 kB / 0.7908 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.00794, allocations: 37.47 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.007942, allocations: 0.7812 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002162/0.008158, allocations: 61.67 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.008202, allocations: 77.8 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.008331, allocations: 189.9 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.008351, allocations: 26.95 kB / 0.7911 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.008428, allocations: 146.8 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.008453, allocations: 19.84 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.008499, allocations: 23.36 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.008643, allocations: 0.493 MB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.008676, allocations: 5.25 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.008729, allocations: 49.08 kB / 0.7919 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.008787, allocations: 23.67 kB / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.00879, allocations: 7.938 kB / 0.7919 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001136/0.008903, allocations: 59.8 kB / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.008923, allocations: 10.19 kB / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008928, allocations: 0 / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.008943, allocations: 0 / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.009037, allocations: 8 kB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.009042, allocations: 2.781 kB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.009093, allocations: 11.98 kB / 0.792 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.0091, allocations: 0 / 0.792 GB, free: 7.293 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 0.0002296/0.009329, allocations: 160.5 kB / 0.7921 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.009363, allocations: 7.953 kB / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.009399, allocations: 16.33 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.009402, allocations: 4 kB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.009406, allocations: 1.469 kB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009409, allocations: 0 / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.009558, allocations: 136.5 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.009561, allocations: 4.125 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.009621, allocations: 16.44 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.009624, allocations: 0.5625 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.009634, allocations: 5.359 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009636, allocations: 0 / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.009637, allocations: 0 / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.009806, allocations: 199.9 kB / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.009824, allocations: 12.52 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.009849, allocations: 4 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.009939, allocations: 9.953 kB / 0.7925 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.009993, allocations: 7.984 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.01, allocations: 4 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.01007, allocations: 143.2 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01007, allocations: 0 / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002728/0.01035, allocations: 16.44 kB / 0.7927 GB, free: 6.496 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 0.0001153/0.01046, allocations: 100.3 kB / 0.7928 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.0106, allocations: 31.91 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0106, allocations: 0.9062 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.01065, allocations: 23.66 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01093, allocations: 12.78 kB / 0.7928 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.01172, allocations: 192.5 kB / 0.793 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/0.01177, allocations: 59.34 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.01181, allocations: 5.125 kB / 0.7931 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.01186, allocations: 12.5 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of SimCode: time 1.313e-06/0.01186, allocations: 1.125 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.003982/0.01584, allocations: 0.9474 MB / 0.794 GB, free: 5.09 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.977053307928145]