Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.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.001622/0.001622, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001853/0.001853, allocations: 218.9 kB / 23.01 MB, free: 4.566 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.49 GB / 0.7958 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 72.39 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3916, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003279/0.3949, allocations: 1.72 MB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.396, allocations: 0.5299 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.396, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.3961, allocations: 3.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/0.3961, allocations: 23.78 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.3964, allocations: 39.89 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3966, allocations: 95.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3967, allocations: 24.16 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3968, allocations: 39.86 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.3969, allocations: 43.77 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.397, allocations: 8 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.754e-05/0.397, allocations: 11.94 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.397, allocations: 19.92 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.3971, allocations: 35.8 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3973, allocations: 87.62 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3973, allocations: 4 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3973, allocations: 4 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3973, allocations: 0 / 1.33 GB, free: 14.81 MB / 1.029 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.0005793/0.3979, allocations: 325.9 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3979, allocations: 8.031 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.3981, allocations: 24.88 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3984, allocations: 142.4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3984, allocations: 4.375 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3984, allocations: 4.375 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.3986, allocations: 95.62 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3986, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3986, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3987, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.3988, allocations: 43.97 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.3993, allocations: 303.8 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3995, allocations: 46.56 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.3996, allocations: 28.94 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3996, allocations: 3.984 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3996, allocations: 34.56 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3996, allocations: 0 / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003528/0.4, allocations: 105.6 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.4, allocations: 77.11 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4002, allocations: 131.4 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.4002, allocations: 33.69 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.4003, allocations: 104 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.4003, allocations: 15.89 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.4003, allocations: 13.72 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4005, allocations: 326.8 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.4006, allocations: 23.98 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.4007, allocations: 37.7 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4008, allocations: 56.8 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4008, allocations: 0 / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/0.401, allocations: 89.69 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4011, allocations: 10.19 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4011, allocations: 3.938 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4011, allocations: 0 / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4012, allocations: 11.98 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4012, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.4013, allocations: 15.92 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.4013, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 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.000105/0.4014, allocations: 114.4 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.4014, allocations: 11.94 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.4014, allocations: 12.34 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.4014, allocations: 4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4015, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4015, allocations: 3.938 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.4017, allocations: 164.6 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4017, allocations: 4.125 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.4017, allocations: 7.984 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4017, allocations: 4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4017, allocations: 3.984 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4017, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4017, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.402, allocations: 187.4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.402, allocations: 7.953 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.402, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4021, allocations: 11.98 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.4022, allocations: 7.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4022, allocations: 11.92 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.364e-05/0.4023, allocations: 99.17 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4023, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002241/0.4025, allocations: 16 kB / 1.332 GB, free: 11.79 MB / 1.029 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.0001187/0.4026, allocations: 103.2 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.4029, allocations: 55.95 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4029, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.403, allocations: 23.98 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4032, allocations: 5.5 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.4036, allocations: 213.8 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.404, allocations: 0.6962 MB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.4041, allocations: 15.42 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4041, allocations: 3.938 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of Templates: time 0.00275/0.4068, allocations: 1.05 MB / 1.335 GB, free: 9.57 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.416289711982245]