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.0008528/0.0008528, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009648/0.0009648, allocations: 167.8 kB / 24.87 MB, free: 9.285 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.8986/0.8986, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.732/1.732, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.312e-06/1.312e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.833e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002924/0.002943, allocations: 1.748 MB / 0.79 GB, free: 10.52 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.00372, allocations: 0.5001 MB / 0.7905 GB, free: 10.02 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.003785, allocations: 0.6562 kB / 0.7905 GB, free: 10.02 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.003818, allocations: 7.875 kB / 0.7905 GB, free: 10.01 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.003901, allocations: 16.81 kB / 0.7905 GB, free: 9.996 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.004122, allocations: 49.5 kB / 0.7906 GB, free: 9.949 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004264, allocations: 87.64 kB / 0.7906 GB, free: 9.863 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.004363, allocations: 28.14 kB / 0.7907 GB, free: 9.832 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.004506, allocations: 49.12 kB / 0.7907 GB, free: 9.785 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.004579, allocations: 35.89 kB / 0.7908 GB, free: 9.75 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.004599, allocations: 8 kB / 0.7908 GB, free: 9.742 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.004641, allocations: 8.688 kB / 0.7908 GB, free: 9.734 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.00466, allocations: 11.98 kB / 0.7908 GB, free: 9.723 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.004691, allocations: 33.5 kB / 0.7908 GB, free: 9.691 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.004815, allocations: 63.69 kB / 0.7909 GB, free: 9.629 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004817, allocations: 0 / 0.7909 GB, free: 9.629 MB / 0.7449 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004817, allocations: 0 / 0.7909 GB, free: 9.629 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.004822, allocations: 3.984 kB / 0.7909 GB, free: 9.625 MB / 0.7449 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.0004118/0.005234, allocations: 423.7 kB / 0.7913 GB, free: 9.18 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.005267, allocations: 8.031 kB / 0.7913 GB, free: 9.172 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.005429, allocations: 24.88 kB / 0.7913 GB, free: 9.148 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.005581, allocations: 146.8 kB / 0.7915 GB, free: 8.98 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.005591, allocations: 4.375 kB / 0.7915 GB, free: 8.977 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.005601, allocations: 384 / 0.7915 GB, free: 8.977 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.005754, allocations: 124.7 kB / 0.7916 GB, free: 8.832 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005761, allocations: 192 / 0.7916 GB, free: 8.832 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.005771, allocations: 6.031 kB / 0.7916 GB, free: 8.828 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005778, allocations: 3.938 kB / 0.7916 GB, free: 8.824 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.00582, allocations: 11.98 kB / 0.7916 GB, free: 8.812 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.006147, allocations: 285.2 kB / 0.7919 GB, free: 8.508 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 7.287e-05/0.006219, allocations: 43.03 kB / 0.7919 GB, free: 8.453 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006243, allocations: 20.53 kB / 0.7919 GB, free: 8.43 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.006254, allocations: 0 / 0.7919 GB, free: 8.43 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.00628, allocations: 38.45 kB / 0.792 GB, free: 8.383 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006281, allocations: 0 / 0.792 GB, free: 8.383 MB / 0.7449 GB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.006441, allocations: 57.72 kB / 0.792 GB, free: 8.32 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.006481, allocations: 82.45 kB / 0.7921 GB, free: 8.223 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.006579, allocations: 185.9 kB / 0.7923 GB, free: 8.023 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.006596, allocations: 25.7 kB / 0.7923 GB, free: 7.992 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.006657, allocations: 151.5 kB / 0.7924 GB, free: 7.84 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.006679, allocations: 19.83 kB / 0.7925 GB, free: 7.82 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.006721, allocations: 28.58 kB / 0.7925 GB, free: 7.785 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.006846, allocations: 496.1 kB / 0.793 GB, free: 7.289 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.006867, allocations: 7.984 kB / 0.793 GB, free: 7.281 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.006908, allocations: 53.86 kB / 0.793 GB, free: 7.215 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.006951, allocations: 19.69 kB / 0.793 GB, free: 7.191 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006953, allocations: 1.75 kB / 0.793 GB, free: 7.191 MB / 0.7449 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.304e-05/0.007046, allocations: 61.7 kB / 0.7931 GB, free: 7.125 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.00706, allocations: 9.875 kB / 0.7931 GB, free: 7.117 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007064, allocations: 0 / 0.7931 GB, free: 7.117 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.007072, allocations: 0 / 0.7931 GB, free: 7.117 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.007137, allocations: 8.609 kB / 0.7931 GB, free: 7.109 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.007139, allocations: 0 / 0.7931 GB, free: 7.109 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.007182, allocations: 12.67 kB / 0.7931 GB, free: 7.098 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.007188, allocations: 4.5 kB / 0.7931 GB, free: 7.094 MB / 0.7449 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 7.958e-05/0.007267, allocations: 165.6 kB / 0.7933 GB, free: 6.922 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.0073, allocations: 15.89 kB / 0.7933 GB, free: 6.906 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.007325, allocations: 8.344 kB / 0.7933 GB, free: 6.895 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.007329, allocations: 4.531 kB / 0.7933 GB, free: 6.891 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.007331, allocations: 1.25 kB / 0.7933 GB, free: 6.891 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.007333, allocations: 0 / 0.7933 GB, free: 6.891 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.007465, allocations: 113.2 kB / 0.7934 GB, free: 6.754 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007466, allocations: 0 / 0.7934 GB, free: 6.754 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.007503, allocations: 9.094 kB / 0.7934 GB, free: 6.746 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007505, allocations: 0 / 0.7934 GB, free: 6.746 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.007514, allocations: 7.922 kB / 0.7934 GB, free: 6.738 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.007516, allocations: 4.781 kB / 0.7935 GB, free: 6.734 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007517, allocations: 0 / 0.7935 GB, free: 6.734 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.007642, allocations: 196.8 kB / 0.7936 GB, free: 6.523 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.007654, allocations: 11.95 kB / 0.7937 GB, free: 6.512 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.007674, allocations: 5.125 kB / 0.7937 GB, free: 6.508 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.00775, allocations: 7.984 kB / 0.7937 GB, free: 6.5 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.007787, allocations: 7.984 kB / 0.7937 GB, free: 6.492 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.007793, allocations: 4.844 kB / 0.7937 GB, free: 6.488 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.007848, allocations: 143.1 kB / 0.7938 GB, free: 6.348 MB / 0.7449 GB Notification: Performance of sort global known variables: time 8e-08/0.007848, allocations: 2.219 kB / 0.7938 GB, free: 6.348 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002312/0.008079, allocations: 15.94 kB / 0.7938 GB, free: 6.332 MB / 0.7449 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 7.809e-05/0.008157, allocations: 95.25 kB / 0.7939 GB, free: 6.23 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 9.477e-05/0.008252, allocations: 27.91 kB / 0.7939 GB, free: 6.199 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008253, allocations: 0 / 0.7939 GB, free: 6.199 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.008286, allocations: 30.47 kB / 0.794 GB, free: 6.168 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.008514, allocations: 4 kB / 0.794 GB, free: 6.164 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.009021, allocations: 190.5 kB / 0.7942 GB, free: 5.945 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.00906, allocations: 62.3 kB / 0.7942 GB, free: 5.867 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 3.449e-05/0.009095, allocations: 5.5 kB / 0.7942 GB, free: 5.863 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.009166, allocations: 78.19 kB / 0.7943 GB, free: 5.785 MB / 0.7449 GB Notification: Performance of SimCode: time 4.21e-07/0.009167, allocations: 0.625 kB / 0.7943 GB, free: 5.785 MB / 0.7449 GB Notification: Performance of Templates: time 0.003223/0.01239, allocations: 1.042 MB / 0.7953 GB, free: 4.781 MB / 0.7449 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.7634157249704]