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.001124/0.001124, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001177/0.001177, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9034/0.9034, allocations: 177.1 MB / 203.5 MB, free: 5.734 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 1.972/1.972, allocations: 429.6 MB / 0.6733 GB, free: 4.043 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.854e-06/1.854e-06, allocations: 0 / 1.066 GB, free: 33.32 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.695e-05/3.88e-05, allocations: 4.625 kB / 1.066 GB, free: 33.32 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001987/0.002026, allocations: 1.697 MB / 1.068 GB, free: 32.16 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0006144/0.00264, allocations: 0.4943 MB / 1.068 GB, free: 31.83 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.002707, allocations: 2.938 kB / 1.068 GB, free: 31.83 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.002737, allocations: 15.3 kB / 1.068 GB, free: 31.82 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.002813, allocations: 11.81 kB / 1.068 GB, free: 31.81 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.003054, allocations: 53.84 kB / 1.068 GB, free: 31.78 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.003171, allocations: 85.42 kB / 1.068 GB, free: 31.73 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003288, allocations: 24.19 kB / 1.068 GB, free: 31.72 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.003427, allocations: 49.88 kB / 1.068 GB, free: 31.7 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.003489, allocations: 32.7 kB / 1.068 GB, free: 31.69 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.003506, allocations: 5.688 kB / 1.068 GB, free: 31.69 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.003548, allocations: 15.47 kB / 1.068 GB, free: 31.68 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.003563, allocations: 15.22 kB / 1.068 GB, free: 31.67 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.003591, allocations: 27.97 kB / 1.068 GB, free: 31.66 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003728, allocations: 104.1 kB / 1.069 GB, free: 31.61 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003732, allocations: 0 / 1.069 GB, free: 31.61 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003733, allocations: 2.719 kB / 1.069 GB, free: 31.61 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.003737, allocations: 0 / 1.069 GB, free: 31.61 MB / 1.01 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.0004389/0.004176, allocations: 314.4 kB / 1.069 GB, free: 31.32 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.004216, allocations: 8.906 kB / 1.069 GB, free: 31.32 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.004368, allocations: 36.75 kB / 1.069 GB, free: 31.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.004572, allocations: 139.8 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.004583, allocations: 3.281 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.004595, allocations: 3.312 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.004754, allocations: 121 kB / 1.069 GB, free: 31.06 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.004761, allocations: 192 / 1.069 GB, free: 31.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.004774, allocations: 384 / 1.069 GB, free: 31.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004779, allocations: 6.688 kB / 1.069 GB, free: 31.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.004871, allocations: 50.27 kB / 1.069 GB, free: 31.04 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.005185, allocations: 267 kB / 1.069 GB, free: 30.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.005283, allocations: 47.56 kB / 1.07 GB, free: 30.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.005329, allocations: 27.25 kB / 1.07 GB, free: 30.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.005342, allocations: 0 / 1.07 GB, free: 30.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.005358, allocations: 37.56 kB / 1.07 GB, free: 30.71 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.005359, allocations: 3.938 kB / 1.07 GB, free: 30.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=4): time 0.0002254/0.005584, allocations: 99.78 kB / 1.07 GB, free: 30.66 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.005613, allocations: 80.11 kB / 1.07 GB, free: 30.57 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.005686, allocations: 139.9 kB / 1.07 GB, free: 30.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.005696, allocations: 32.33 kB / 1.07 GB, free: 30.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.005729, allocations: 97.7 kB / 1.07 GB, free: 30.32 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.005745, allocations: 10.69 kB / 1.07 GB, free: 30.31 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.005774, allocations: 22.61 kB / 1.07 GB, free: 30.29 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.199e-05/0.005806, allocations: 320.7 kB / 1.07 GB, free: 29.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.005859, allocations: 26.03 kB / 1.07 GB, free: 29.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.005911, allocations: 63.19 kB / 1.07 GB, free: 29.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.005991, allocations: 54.78 kB / 1.071 GB, free: 29.89 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005993, allocations: 0 / 1.071 GB, free: 29.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001129/0.006105, allocations: 88.11 kB / 1.071 GB, free: 29.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006119, allocations: 5.438 kB / 1.071 GB, free: 29.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006123, allocations: 0 / 1.071 GB, free: 29.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.006137, allocations: 7 kB / 1.071 GB, free: 29.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.006209, allocations: 9.125 kB / 1.071 GB, free: 29.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.006214, allocations: 0 / 1.071 GB, free: 29.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.006251, allocations: 11.95 kB / 1.071 GB, free: 29.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.006257, allocations: 0 / 1.071 GB, free: 29.83 MB / 1.01 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 4.983e-05/0.006307, allocations: 123.2 kB / 1.071 GB, free: 29.71 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.006324, allocations: 6.609 kB / 1.071 GB, free: 29.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.00635, allocations: 18.3 kB / 1.071 GB, free: 29.69 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006351, allocations: 0 / 1.071 GB, free: 29.69 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006356, allocations: 6.844 kB / 1.071 GB, free: 29.69 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.006359, allocations: 0 / 1.071 GB, free: 29.69 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.183e-05/0.006451, allocations: 127.4 kB / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.006452, allocations: 0 / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.006485, allocations: 11.94 kB / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.006486, allocations: 192 / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.006496, allocations: 3.234 kB / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006496, allocations: 0 / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006497, allocations: 2.781 kB / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.006623, allocations: 184.9 kB / 1.071 GB, free: 29.39 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.006635, allocations: 13.97 kB / 1.071 GB, free: 29.39 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.006651, allocations: 0 / 1.071 GB, free: 29.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.006702, allocations: 20.03 kB / 1.071 GB, free: 29.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.00675, allocations: 9.953 kB / 1.071 GB, free: 29.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.006754, allocations: 7.125 kB / 1.071 GB, free: 29.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.006788, allocations: 103.5 kB / 1.071 GB, free: 29.29 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.006788, allocations: 0 / 1.071 GB, free: 29.29 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001591/0.006948, allocations: 15.36 kB / 1.071 GB, free: 29.29 MB / 1.01 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 8.058e-05/0.007028, allocations: 107.7 kB / 1.071 GB, free: 29.19 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.007165, allocations: 49.39 kB / 1.071 GB, free: 29.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007166, allocations: 0 / 1.071 GB, free: 29.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.00721, allocations: 29.73 kB / 1.071 GB, free: 29.17 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.007405, allocations: 6.906 kB / 1.071 GB, free: 29.17 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.007707, allocations: 200.4 kB / 1.072 GB, free: 28.99 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.007751, allocations: 83.95 kB / 1.072 GB, free: 28.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.007787, allocations: 15.38 kB / 1.072 GB, free: 28.9 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.007788, allocations: 0 / 1.072 GB, free: 28.9 MB / 1.01 GB Notification: Performance of Templates: time 0.00177/0.009557, allocations: 1.068 MB / 1.073 GB, free: 28.83 MB / 1.01 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 -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.27624131552875]