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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 192.8 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002024/0.002024, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7054, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00299/0.7084, allocations: 1.697 MB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.7092, allocations: 452.6 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.7092, allocations: 4 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.7093, allocations: 11.86 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.7094, allocations: 11.86 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.7095, allocations: 31.91 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.7097, allocations: 87.69 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.7098, allocations: 27.72 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.7099, allocations: 39.8 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.71, allocations: 43.83 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.71, allocations: 8 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.71, allocations: 4 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.71, allocations: 19.92 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.913e-05/0.7101, allocations: 31.86 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.7102, allocations: 82.52 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7103, allocations: 3.984 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7103, allocations: 0 / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7103, allocations: 0 / 1.277 GB, free: 2.012 MB / 0.9669 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.0006146/0.7109, allocations: 399 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.7109, allocations: 8.031 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.7109, allocations: 8.891 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.7111, allocations: 180.3 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.7111, allocations: 4.312 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.7111, allocations: 8.375 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.7114, allocations: 91.69 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7114, allocations: 0 / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.7114, allocations: 0 / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.7114, allocations: 4 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.7115, allocations: 47.91 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.7121, allocations: 324.7 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.7122, allocations: 54.58 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.7123, allocations: 28.94 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.7123, allocations: 7.984 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.7124, allocations: 34.5 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.7124, allocations: 3.938 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003562/0.7127, allocations: 101.6 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.7128, allocations: 81.09 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.7129, allocations: 124.5 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.7129, allocations: 33.7 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.713, allocations: 108 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.713, allocations: 7.906 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.7131, allocations: 21.7 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.7132, allocations: 330.8 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.7133, allocations: 19.98 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.7134, allocations: 37.7 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.7136, allocations: 48.83 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7136, allocations: 128 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002071/0.7138, allocations: 89.84 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7138, allocations: 4 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7138, allocations: 4 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7138, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.7139, allocations: 19.91 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7139, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.714, allocations: 7.984 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.714, allocations: 7.938 kB / 1.279 GB, free: 15.56 MB / 0.9825 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.0001127/0.7141, allocations: 121.8 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.7142, allocations: 7.953 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.7142, allocations: 12.23 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7142, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7142, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.7142, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.7144, allocations: 185.6 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7144, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.7145, allocations: 12 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7145, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.7145, allocations: 7.984 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7145, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7145, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.7148, allocations: 183.3 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.7149, allocations: 89 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.7149, allocations: 3.938 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.715, allocations: 15.98 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.7151, allocations: 11.98 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.7151, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.393e-05/0.7151, allocations: 103.2 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7151, allocations: 3.938 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002319/0.7154, allocations: 12 kB / 1.279 GB, free: 14.71 MB / 0.9825 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.0001418/0.7155, allocations: 103.8 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.7157, allocations: 55.91 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7157, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.7158, allocations: 23.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.7161, allocations: 9.875 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.7166, allocations: 183 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.7169, allocations: 0.6924 MB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.717, allocations: 4.141 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.717, allocations: 7.438 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.717, allocations: 0 / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.003531/0.7205, allocations: 0.8979 MB / 1.281 GB, free: 12.69 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.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: 8.466144889127463]