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.001863/0.001863, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.002368/0.002368, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.652/2.652, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00227/0.00227, allocations: 71.89 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.297, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002976/0.3, allocations: 1.69 MB / 1.119 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.301, allocations: 498.8 kB / 1.12 GB, free: 368 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.301, allocations: 4 kB / 1.12 GB, free: 364 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.301, allocations: 7.875 kB / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.3011, allocations: 11.81 kB / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3014, allocations: 51.88 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3015, allocations: 87.7 kB / 1.12 GB, free: 204 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3016, allocations: 16.22 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3017, allocations: 51.78 kB / 1.12 GB, free: 132 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.3018, allocations: 27.84 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3018, allocations: 8 kB / 1.12 GB, free: 96 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.3019, allocations: 15.94 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.3019, allocations: 23.91 kB / 1.12 GB, free: 56 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.302, allocations: 27.86 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.3021, allocations: 91.62 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3021, allocations: 4 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3021, allocations: 0 / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3021, allocations: 0 / 1.12 GB, free: 15.93 MB / 1.076 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.0005384/0.3027, allocations: 317.9 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3027, allocations: 12.03 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.3029, allocations: 28.88 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3032, allocations: 134.3 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3032, allocations: 8.375 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3032, allocations: 8.375 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3034, allocations: 113.4 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3035, allocations: 0 / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3035, allocations: 4 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3035, allocations: 0 / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3037, allocations: 47.91 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.3041, allocations: 264.3 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3043, allocations: 54.59 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.3043, allocations: 32.92 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3044, allocations: 0 / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3044, allocations: 30.56 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3044, allocations: 7.938 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003376/0.3047, allocations: 97.61 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3048, allocations: 85.05 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3049, allocations: 140.9 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3049, allocations: 25.7 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.305, allocations: 96.09 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.305, allocations: 19.89 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3051, allocations: 13.72 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3052, allocations: 322.8 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.3053, allocations: 27.98 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3054, allocations: 59.41 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3056, allocations: 56.92 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3056, allocations: 4 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002092/0.3058, allocations: 89.56 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3058, allocations: 4 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3058, allocations: 0 / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3058, allocations: 3.984 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.3059, allocations: 8 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3059, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.306, allocations: 19.92 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.306, allocations: 0 / 1.122 GB, free: 13.64 MB / 1.076 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.0001076/0.3061, allocations: 125.8 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.3061, allocations: 7.953 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3062, allocations: 8.531 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3062, allocations: 3.984 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3062, allocations: 0 / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3062, allocations: 4 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3063, allocations: 129.2 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3063, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.3064, allocations: 11.98 kB / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3064, allocations: 0 / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3064, allocations: 0 / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3064, allocations: 0 / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3064, allocations: 3.938 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3067, allocations: 179.4 kB / 1.122 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.3067, allocations: 7.953 kB / 1.122 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3067, allocations: 7.938 kB / 1.122 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3068, allocations: 15.98 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.3069, allocations: 11.97 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.3069, allocations: 4.062 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.88e-05/0.307, allocations: 107.2 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002488/0.3072, allocations: 16 kB / 1.123 GB, free: 12.95 MB / 1.076 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.000115/0.3073, allocations: 95.25 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3075, allocations: 67.83 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3076, allocations: 4 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.3076, allocations: 19.98 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.3079, allocations: 14.2 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.3083, allocations: 184 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.3084, allocations: 79.88 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.3084, allocations: 8 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.3084, allocations: 12.44 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3084, allocations: 0 / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of Templates: time 0.003625/0.3121, allocations: 0.9232 MB / 1.124 GB, free: 11.51 MB / 1.076 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 -s ida -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/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.380963611998595]