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.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.0008377/0.0008377, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008168/0.0008168, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8645/0.8645, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.753e-06/1.753e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.799e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002161/0.002189, allocations: 1.683 MB / 0.9534 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.00285, allocations: 0.4947 MB / 0.9539 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.002912, allocations: 0 / 0.9539 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.002942, allocations: 3.938 kB / 0.9539 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.00302, allocations: 27.78 kB / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.00326, allocations: 35.95 kB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.003395, allocations: 99.58 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003501, allocations: 16.22 kB / 0.954 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.00365, allocations: 59.81 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.003714, allocations: 27.91 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.003732, allocations: 8 kB / 0.9541 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.049e-05/0.003773, allocations: 8 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.00379, allocations: 19.92 kB / 0.9542 GB, free: 496 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.003819, allocations: 23.92 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.003966, allocations: 91.73 kB / 0.9543 GB, free: 380 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.003969, allocations: 0 / 0.9543 GB, free: 380 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00397, allocations: 7.938 kB / 0.9543 GB, free: 372 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.003975, allocations: 0 / 0.9543 GB, free: 372 kB / 0.9011 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.0003959/0.004371, allocations: 325.9 kB / 0.9546 GB, free: 16 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.004406, allocations: 12.03 kB / 0.9546 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.00455, allocations: 24.88 kB / 0.9546 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.004745, allocations: 137.6 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.004758, allocations: 12.36 kB / 0.9548 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.004769, allocations: 4.375 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.004931, allocations: 117.6 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004938, allocations: 4.125 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.00495, allocations: 384 / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.004956, allocations: 3.938 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.005048, allocations: 47.97 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.005392, allocations: 256.4 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.005493, allocations: 62.48 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.005538, allocations: 28.88 kB / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.005552, allocations: 0 / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.005574, allocations: 34.56 kB / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005575, allocations: 4 kB / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002362/0.005811, allocations: 105.6 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.00585, allocations: 77.11 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.005933, allocations: 140 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.005946, allocations: 25.7 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.005994, allocations: 96.09 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.006013, allocations: 19.88 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.006044, allocations: 17.72 kB / 0.9558 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.006124, allocations: 318.8 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.006167, allocations: 23.98 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.006223, allocations: 59.41 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.006309, allocations: 56.8 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.006314, allocations: 4 kB / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001185/0.006432, allocations: 85.56 kB / 0.9563 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.006445, allocations: 7.984 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00645, allocations: 0 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.006463, allocations: 0 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.006529, allocations: 11.94 kB / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.006534, allocations: 0 / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.006571, allocations: 15.98 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.006578, allocations: 4 kB / 0.9563 GB, free: 14.06 MB / 0.9167 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 6.944e-05/0.006647, allocations: 125.8 kB / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.006663, allocations: 7.953 kB / 0.9564 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.006687, allocations: 8.344 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006689, allocations: 0 / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006693, allocations: 0 / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006696, allocations: 4 kB / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.006802, allocations: 133.2 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006803, allocations: 0 / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.006835, allocations: 19.92 kB / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.006836, allocations: 192 / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.006844, allocations: 8 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006845, allocations: 0 / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.006846, allocations: 3.938 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.006993, allocations: 179.6 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.007004, allocations: 11.98 kB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.00702, allocations: 3.984 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.007067, allocations: 8 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.007115, allocations: 19.97 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.007118, allocations: 0 / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.007163, allocations: 102.2 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007163, allocations: 0 / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001522/0.007315, allocations: 16 kB / 0.9569 GB, free: 13.36 MB / 0.9167 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.0001031/0.007418, allocations: 107.1 kB / 0.957 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.007559, allocations: 51.97 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007561, allocations: 0 / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.007603, allocations: 23.98 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.007793, allocations: 12.5 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.008121, allocations: 207 kB / 0.9573 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.008181, allocations: 79.67 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.008217, allocations: 8.5 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.008218, allocations: 0 / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of Templates: time 0.002219/0.01044, allocations: 1.087 MB / 0.9585 GB, free: 11.74 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.47417595051229]