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.001356/0.001356, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001581/0.001581, allocations: 216.2 kB / 23.01 MB, free: 5.113 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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.86/2.86, allocations: 476.7 MB / 0.7714 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 176] 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.002102/0.002102, allocations: 63.77 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003377/0.3828, allocations: 1.719 MB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3839, allocations: 0.5161 MB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.3839, allocations: 3.938 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.384, allocations: 15.86 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.3841, allocations: 19.8 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3843, allocations: 43.89 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3845, allocations: 91.69 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3846, allocations: 20.22 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3848, allocations: 43.8 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.3849, allocations: 39.83 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3849, allocations: 8 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.3849, allocations: 16 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.385, allocations: 15.92 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.385, allocations: 39.8 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.3852, allocations: 95.56 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3852, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3852, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3852, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 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.0005908/0.3858, allocations: 314 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3859, allocations: 16.03 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.3861, allocations: 32.81 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3864, allocations: 136.8 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3864, allocations: 12.38 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3864, allocations: 4.375 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3866, allocations: 95.67 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3866, allocations: 4 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3867, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3867, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3868, allocations: 55.89 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.3874, allocations: 295.8 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.3875, allocations: 50.59 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.3876, allocations: 24.94 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3876, allocations: 4 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.3877, allocations: 34.56 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3877, allocations: 0 / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003775/0.388, allocations: 105.5 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.3881, allocations: 81.11 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3882, allocations: 133.8 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.3883, allocations: 29.7 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.3883, allocations: 104 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3884, allocations: 11.91 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3884, allocations: 21.7 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3886, allocations: 318.8 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.3886, allocations: 27.98 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.3887, allocations: 41.69 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3889, allocations: 40.84 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3889, allocations: 0 / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002033/0.3891, allocations: 97.55 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3891, allocations: 11.97 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3891, allocations: 0 / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3891, allocations: 0 / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3892, allocations: 11.98 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3892, allocations: 0 / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.3893, allocations: 15.92 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.3893, allocations: 0 / 1.289 GB, free: 6.184 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.0001113/0.3894, allocations: 113.8 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.3895, allocations: 11.95 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.3895, allocations: 12.34 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3895, allocations: 192 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3895, allocations: 7.984 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3895, allocations: 3.938 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3897, allocations: 164.6 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3897, allocations: 3.984 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.3898, allocations: 8 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3898, allocations: 0 / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3898, allocations: 3.984 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.3898, allocations: 11.92 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3898, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3901, allocations: 179.4 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.3901, allocations: 7.953 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3901, allocations: 4 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3902, allocations: 11.98 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.3903, allocations: 11.98 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3903, allocations: 3.938 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.335e-05/0.3904, allocations: 109.5 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3904, allocations: 0 / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002316/0.3906, allocations: 15.98 kB / 1.29 GB, free: 5.441 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.0001378/0.3907, allocations: 103.5 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.391, allocations: 51.91 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.391, allocations: 7.938 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.391, allocations: 23.98 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.3913, allocations: 14.42 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.3918, allocations: 205.8 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3921, allocations: 0.6962 MB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.3922, allocations: 11.44 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3922, allocations: 0 / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.003081/0.3953, allocations: 1.034 MB / 1.292 GB, free: 3.242 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 -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: 11.181090844998835]