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.001834/0.001834, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002242/0.002242, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.612/3.612, allocations: 0.5569 GB / 0.862 GB, free: 4.27 MB / 0.6544 GB " [Timeout remaining time 176] 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.003306/0.003306, allocations: 59.91 kB / 1.255 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3905, allocations: 193.6 MB / 1.444 GB, free: 15.39 MB / 1.139 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.00304/0.3935, allocations: 1.694 MB / 1.446 GB, free: 13.68 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.3945, allocations: 0.491 MB / 1.447 GB, free: 13.18 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.3946, allocations: 0 / 1.447 GB, free: 13.18 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.3946, allocations: 7.875 kB / 1.447 GB, free: 13.18 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.3947, allocations: 23.8 kB / 1.447 GB, free: 13.15 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.3949, allocations: 47.88 kB / 1.447 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3951, allocations: 79.72 kB / 1.447 GB, free: 13.03 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3952, allocations: 32.05 kB / 1.447 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3953, allocations: 43.8 kB / 1.447 GB, free: 12.95 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.3954, allocations: 31.84 kB / 1.447 GB, free: 12.92 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3954, allocations: 4 kB / 1.447 GB, free: 12.91 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.3955, allocations: 16 kB / 1.447 GB, free: 12.9 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.3955, allocations: 19.91 kB / 1.447 GB, free: 12.88 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.3956, allocations: 43.8 kB / 1.447 GB, free: 12.84 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.3957, allocations: 87.67 kB / 1.447 GB, free: 12.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3957, allocations: 0 / 1.447 GB, free: 12.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3957, allocations: 0 / 1.447 GB, free: 12.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3957, allocations: 0 / 1.447 GB, free: 12.75 MB / 1.139 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.000549/0.3963, allocations: 317.9 kB / 1.447 GB, free: 12.41 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3963, allocations: 8.031 kB / 1.447 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.3966, allocations: 28.86 kB / 1.447 GB, free: 12.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3968, allocations: 146.3 kB / 1.447 GB, free: 12.21 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3968, allocations: 384 / 1.447 GB, free: 12.21 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3968, allocations: 4.375 kB / 1.447 GB, free: 12.2 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.3971, allocations: 129.2 kB / 1.448 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3971, allocations: 3.984 kB / 1.448 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3971, allocations: 0 / 1.448 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3971, allocations: 4 kB / 1.448 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3973, allocations: 47.91 kB / 1.448 GB, free: 12 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3977, allocations: 268.4 kB / 1.448 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3979, allocations: 46.59 kB / 1.448 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.398, allocations: 24.94 kB / 1.448 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.398, allocations: 8 kB / 1.448 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.398, allocations: 30.56 kB / 1.448 GB, free: 11.58 MB / 1.139 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.398, allocations: 0 / 1.448 GB, free: 11.58 MB / 1.139 GB Notification: Performance of matching and sorting (n=4): time 0.0003679/0.3984, allocations: 105.6 kB / 1.448 GB, free: 11.47 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3985, allocations: 85.05 kB / 1.448 GB, free: 11.37 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3986, allocations: 131.6 kB / 1.448 GB, free: 11.23 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3986, allocations: 33.7 kB / 1.448 GB, free: 11.2 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.3987, allocations: 104 kB / 1.448 GB, free: 11.09 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3987, allocations: 3.953 kB / 1.448 GB, free: 11.09 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.3987, allocations: 21.7 kB / 1.448 GB, free: 11.06 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3989, allocations: 326.8 kB / 1.449 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.399, allocations: 23.98 kB / 1.449 GB, free: 10.71 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3991, allocations: 67.53 kB / 1.449 GB, free: 10.63 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3992, allocations: 48.83 kB / 1.449 GB, free: 10.58 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3992, allocations: 0 / 1.449 GB, free: 10.58 MB / 1.139 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002143/0.3995, allocations: 89.56 kB / 1.449 GB, free: 10.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3995, allocations: 8 kB / 1.449 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3995, allocations: 0 / 1.449 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3995, allocations: 0 / 1.449 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3996, allocations: 16.02 kB / 1.449 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3996, allocations: 0 / 1.449 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.3997, allocations: 15.94 kB / 1.449 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3997, allocations: 0 / 1.449 GB, free: 10.45 MB / 1.139 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.0001062/0.3998, allocations: 117.8 kB / 1.449 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3998, allocations: 7.953 kB / 1.449 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.3999, allocations: 16.33 kB / 1.449 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3999, allocations: 0 / 1.449 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3999, allocations: 0 / 1.449 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3999, allocations: 3.938 kB / 1.449 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.4001, allocations: 137.2 kB / 1.449 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4001, allocations: 0 / 1.449 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.4001, allocations: 11.98 kB / 1.449 GB, free: 10.11 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4001, allocations: 3.938 kB / 1.449 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4002, allocations: 4 kB / 1.449 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4002, allocations: 0 / 1.449 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4002, allocations: 0 / 1.449 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4004, allocations: 183.3 kB / 1.449 GB, free: 9.902 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.4005, allocations: 7.953 kB / 1.449 GB, free: 9.895 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.4005, allocations: 12.3 kB / 1.45 GB, free: 9.883 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.4006, allocations: 11.98 kB / 1.45 GB, free: 9.871 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.4007, allocations: 3.984 kB / 1.45 GB, free: 9.867 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4007, allocations: 11.97 kB / 1.45 GB, free: 9.855 MB / 1.139 GB Notification: Performance of sorting global known variables: time 7.623e-05/0.4007, allocations: 101 kB / 1.45 GB, free: 9.758 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 0 / 1.45 GB, free: 9.758 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002366/0.401, allocations: 16 kB / 1.45 GB, free: 9.742 MB / 1.139 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.0001253/0.4011, allocations: 103.2 kB / 1.45 GB, free: 9.633 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.4013, allocations: 63.83 kB / 1.45 GB, free: 9.57 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4013, allocations: 0 / 1.45 GB, free: 9.57 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.4014, allocations: 23.98 kB / 1.45 GB, free: 9.547 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4017, allocations: 8 kB / 1.45 GB, free: 9.539 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.4021, allocations: 176 kB / 1.45 GB, free: 9.344 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.634e-05/0.4022, allocations: 83.67 kB / 1.45 GB, free: 9.238 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.66e-05/0.4022, allocations: 11.92 kB / 1.45 GB, free: 9.227 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.4023, allocations: 11.44 kB / 1.45 GB, free: 9.215 MB / 1.139 GB Notification: Performance of SimCode: time 3.3e-07/0.4023, allocations: 0 / 1.45 GB, free: 9.215 MB / 1.139 GB Notification: Performance of Templates: time 0.003742/0.406, allocations: 0.9731 MB / 1.451 GB, free: 8.293 MB / 1.139 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=800 -emit_protected -lv LOG_STATS > 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.70940125361085]