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.001362/0.001362, allocations: 100.4 kB / 19.7 MB, free: 452 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.001694/0.001694, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 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 1.066/1.066, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.606/2.606, allocations: 0.5569 GB / 0.8628 GB, free: 29.37 MB / 0.6667 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 0.0009694/0.0009694, allocations: 72.59 kB / 1.255 GB, free: 22.32 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3901, allocations: 193.6 MB / 1.444 GB, free: 9.141 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002631/0.3927, allocations: 1.697 MB / 1.446 GB, free: 7.43 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.3935, allocations: 0.4957 MB / 1.447 GB, free: 6.93 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.3936, allocations: 0 / 1.447 GB, free: 6.93 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.3936, allocations: 7.875 kB / 1.447 GB, free: 6.922 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.3937, allocations: 15.86 kB / 1.447 GB, free: 6.906 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.394, allocations: 47.88 kB / 1.447 GB, free: 6.859 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3941, allocations: 91.64 kB / 1.447 GB, free: 6.77 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3942, allocations: 20.12 kB / 1.447 GB, free: 6.746 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.3944, allocations: 39.86 kB / 1.447 GB, free: 6.707 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.3945, allocations: 35.83 kB / 1.447 GB, free: 6.672 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3945, allocations: 8 kB / 1.447 GB, free: 6.664 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.3945, allocations: 12 kB / 1.447 GB, free: 6.652 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.3946, allocations: 23.92 kB / 1.447 GB, free: 6.629 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.3946, allocations: 31.8 kB / 1.447 GB, free: 6.598 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3948, allocations: 95.56 kB / 1.447 GB, free: 6.504 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3948, allocations: 0 / 1.447 GB, free: 6.504 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3948, allocations: 0 / 1.447 GB, free: 6.504 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3948, allocations: 0 / 1.447 GB, free: 6.504 MB / 1.12 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.0006716/0.3955, allocations: 325.9 kB / 1.447 GB, free: 6.156 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3955, allocations: 8.031 kB / 1.447 GB, free: 6.148 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.3957, allocations: 32.86 kB / 1.447 GB, free: 6.117 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3959, allocations: 139.8 kB / 1.447 GB, free: 5.957 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3959, allocations: 4.375 kB / 1.447 GB, free: 5.953 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.396, allocations: 8.312 kB / 1.447 GB, free: 5.945 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3962, allocations: 121.3 kB / 1.448 GB, free: 5.809 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3962, allocations: 3.938 kB / 1.448 GB, free: 5.805 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3962, allocations: 0 / 1.448 GB, free: 5.805 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3962, allocations: 0 / 1.448 GB, free: 5.805 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3963, allocations: 55.95 kB / 1.448 GB, free: 5.75 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.3967, allocations: 260.4 kB / 1.448 GB, free: 5.465 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3968, allocations: 46.56 kB / 1.448 GB, free: 5.41 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.3969, allocations: 24.94 kB / 1.448 GB, free: 5.383 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3969, allocations: 96 / 1.448 GB, free: 5.383 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3969, allocations: 42.5 kB / 1.448 GB, free: 5.332 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3969, allocations: 0 / 1.448 GB, free: 5.332 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.0002595/0.3972, allocations: 101.6 kB / 1.448 GB, free: 5.227 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3972, allocations: 77.11 kB / 1.448 GB, free: 5.133 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.3973, allocations: 139.5 kB / 1.448 GB, free: 4.988 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3973, allocations: 29.7 kB / 1.448 GB, free: 4.953 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3974, allocations: 104 kB / 1.448 GB, free: 4.848 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3974, allocations: 7.953 kB / 1.448 GB, free: 4.84 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.3974, allocations: 21.7 kB / 1.448 GB, free: 4.812 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.3975, allocations: 318.8 kB / 1.449 GB, free: 4.492 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.3976, allocations: 27.98 kB / 1.449 GB, free: 4.465 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.3977, allocations: 75.33 kB / 1.449 GB, free: 4.379 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.677e-05/0.3977, allocations: 44.84 kB / 1.449 GB, free: 4.332 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3977, allocations: 0 / 1.449 GB, free: 4.332 MB / 1.12 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001269/0.3979, allocations: 85.61 kB / 1.449 GB, free: 4.242 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3979, allocations: 4 kB / 1.449 GB, free: 4.238 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3979, allocations: 0 / 1.449 GB, free: 4.238 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3979, allocations: 4 kB / 1.449 GB, free: 4.234 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.398, allocations: 16.02 kB / 1.449 GB, free: 4.219 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.398, allocations: 0 / 1.449 GB, free: 4.219 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.398, allocations: 19.88 kB / 1.449 GB, free: 4.199 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.398, allocations: 4 kB / 1.449 GB, free: 4.195 MB / 1.12 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 8.714e-05/0.3981, allocations: 117.8 kB / 1.449 GB, free: 4.07 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.3981, allocations: 8.141 kB / 1.449 GB, free: 4.062 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.3982, allocations: 12.33 kB / 1.449 GB, free: 4.039 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3982, allocations: 3.938 kB / 1.449 GB, free: 4.035 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3982, allocations: 7.984 kB / 1.449 GB, free: 4.027 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3982, allocations: 4 kB / 1.449 GB, free: 4.023 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.3983, allocations: 137.2 kB / 1.449 GB, free: 3.859 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3983, allocations: 0 / 1.449 GB, free: 3.859 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.3983, allocations: 8 kB / 1.449 GB, free: 3.852 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3983, allocations: 0 / 1.449 GB, free: 3.852 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3983, allocations: 3.984 kB / 1.449 GB, free: 3.848 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3983, allocations: 192 / 1.449 GB, free: 3.848 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3983, allocations: 4 kB / 1.449 GB, free: 3.844 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.3985, allocations: 187.3 kB / 1.45 GB, free: 3.645 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.3985, allocations: 7.953 kB / 1.45 GB, free: 3.637 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3985, allocations: 4 kB / 1.45 GB, free: 3.633 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.3986, allocations: 11.98 kB / 1.45 GB, free: 3.621 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3986, allocations: 7.984 kB / 1.45 GB, free: 3.613 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3987, allocations: 0 / 1.45 GB, free: 3.613 MB / 1.12 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.3987, allocations: 109.3 kB / 1.45 GB, free: 3.508 MB / 1.12 GB Notification: Performance of sort global known variables: time 5e-08/0.3987, allocations: 0 / 1.45 GB, free: 3.508 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001582/0.3989, allocations: 15.94 kB / 1.45 GB, free: 3.492 MB / 1.12 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.0001028/0.399, allocations: 107.2 kB / 1.45 GB, free: 3.379 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3991, allocations: 55.91 kB / 1.45 GB, free: 3.324 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3991, allocations: 0 / 1.45 GB, free: 3.324 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.3992, allocations: 31.91 kB / 1.45 GB, free: 3.293 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.3994, allocations: 6.031 kB / 1.45 GB, free: 3.289 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.3998, allocations: 201.7 kB / 1.45 GB, free: 3.062 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.3998, allocations: 83.67 kB / 1.45 GB, free: 2.957 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3999, allocations: 19.42 kB / 1.45 GB, free: 2.938 MB / 1.12 GB Notification: Performance of SimCode: time 8.01e-07/0.3999, allocations: 0 / 1.45 GB, free: 2.938 MB / 1.12 GB Notification: Performance of Templates: time 0.002244/0.4021, allocations: 1.066 MB / 1.451 GB, free: 1.883 MB / 1.12 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: 9.036326642002678]