Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001192/0.001192, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001447/0.001447, allocations: 169 kB / 23.02 MB, free: 1.547 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.8834/0.8834, allocations: 177.1 MB / 203.4 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.001/2.001, allocations: 429.5 MB / 0.6732 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8782 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.463e-05, allocations: 3.531 kB / 0.8782 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001903/0.001918, allocations: 1.76 MB / 0.8799 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007396/0.002658, allocations: 0.5049 MB / 0.8804 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.002711, allocations: 4 kB / 0.8804 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.002743, allocations: 11.86 kB / 0.8804 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.002816, allocations: 17.58 kB / 0.8804 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.003027, allocations: 47.88 kB / 0.8805 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003148, allocations: 91.64 kB / 0.8806 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.003233, allocations: 16.23 kB / 0.8806 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.003359, allocations: 64.81 kB / 0.8806 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.003413, allocations: 23.91 kB / 0.8807 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003429, allocations: 9.125 kB / 0.8807 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.00347, allocations: 8 kB / 0.8807 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.00349, allocations: 23.91 kB / 0.8807 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.003516, allocations: 21.05 kB / 0.8807 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.00363, allocations: 67.69 kB / 0.8808 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003632, allocations: 0 / 0.8808 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003632, allocations: 1.094 kB / 0.8808 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003636, allocations: 0 / 0.8808 GB, free: 2.508 MB / 0.7917 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.0003762/0.004012, allocations: 425.2 kB / 0.8812 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.004044, allocations: 8.031 kB / 0.8812 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.004178, allocations: 29.38 kB / 0.8812 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.00432, allocations: 139.9 kB / 0.8814 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.004329, allocations: 8.375 kB / 0.8814 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.00434, allocations: 4.375 kB / 0.8814 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.004493, allocations: 119.9 kB / 0.8815 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.004499, allocations: 1.531 kB / 0.8815 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004508, allocations: 4.375 kB / 0.8815 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004515, allocations: 3.938 kB / 0.8815 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.00456, allocations: 21.06 kB / 0.8815 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.004869, allocations: 311.6 kB / 0.8818 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.004941, allocations: 39.66 kB / 0.8818 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.004968, allocations: 21.31 kB / 0.8819 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.00498, allocations: 96 / 0.8819 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.005001, allocations: 41.38 kB / 0.8819 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.005001, allocations: 0 / 0.8819 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001482/0.00515, allocations: 56.11 kB / 0.882 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.005181, allocations: 81.11 kB / 0.882 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.005269, allocations: 191.9 kB / 0.8822 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.005288, allocations: 25.7 kB / 0.8822 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.005337, allocations: 146.8 kB / 0.8824 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.005353, allocations: 15.84 kB / 0.8824 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.005383, allocations: 27.36 kB / 0.8824 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.005487, allocations: 0.4904 MB / 0.8829 GB, free: 132 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.005509, allocations: 11.94 kB / 0.8829 GB, free: 120 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/0.005543, allocations: 49.08 kB / 0.883 GB, free: 56 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.005583, allocations: 27.8 kB / 0.883 GB, free: 24 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005585, allocations: 3.938 kB / 0.883 GB, free: 20 kB / 0.7917 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.457e-05/0.00566, allocations: 58.36 kB / 0.883 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005671, allocations: 4 kB / 0.883 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.005674, allocations: 5.594 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005685, allocations: 0 / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.00575, allocations: 15.94 kB / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005754, allocations: 0 / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.005785, allocations: 9.172 kB / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.005792, allocations: 4 kB / 0.8831 GB, free: 15.92 MB / 0.8073 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.222e-05/0.005854, allocations: 160.5 kB / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.005874, allocations: 15.95 kB / 0.8833 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.005896, allocations: 12.33 kB / 0.8833 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.005898, allocations: 0 / 0.8833 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.0059, allocations: 0 / 0.8833 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.005903, allocations: 0 / 0.8833 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.99e-05/0.006002, allocations: 140.6 kB / 0.8834 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006004, allocations: 3.938 kB / 0.8834 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.006027, allocations: 4 kB / 0.8834 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.006028, allocations: 0 / 0.8834 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.006037, allocations: 7.984 kB / 0.8834 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006038, allocations: 4 kB / 0.8834 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006039, allocations: 0 / 0.8834 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.006139, allocations: 199.8 kB / 0.8836 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.00615, allocations: 15.89 kB / 0.8836 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.006168, allocations: 4.047 kB / 0.8836 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.006211, allocations: 8 kB / 0.8836 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.006248, allocations: 7.984 kB / 0.8836 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.006254, allocations: 11.98 kB / 0.8837 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.006299, allocations: 141.7 kB / 0.8838 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006299, allocations: 0 / 0.8838 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001493/0.006448, allocations: 12 kB / 0.8838 GB, free: 15.12 MB / 0.8073 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.005e-05/0.006508, allocations: 99.48 kB / 0.8839 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.288e-05/0.006591, allocations: 35.59 kB / 0.8839 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.02e-07/0.006592, allocations: 0 / 0.8839 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.006617, allocations: 19.67 kB / 0.8839 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.006763, allocations: 15.88 kB / 0.884 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.007157, allocations: 194.5 kB / 0.8841 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.007187, allocations: 67.28 kB / 0.8842 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.007209, allocations: 3.938 kB / 0.8842 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.007236, allocations: 12.5 kB / 0.8842 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.007236, allocations: 0 / 0.8842 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.002085/0.009321, allocations: 0.9801 MB / 0.8852 GB, free: 13.69 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_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.879715051036328]