Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 443.4 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.059 GB, free: 296 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3698, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003488/0.3733, allocations: 1.699 MB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.3741, allocations: 454.9 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.3742, allocations: 3.938 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.3742, allocations: 7.922 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3743, allocations: 23.8 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.3745, allocations: 23.97 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3747, allocations: 87.64 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3748, allocations: 23.97 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3749, allocations: 27.92 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.375, allocations: 43.78 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.375, allocations: 8 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.375, allocations: 4 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.3751, allocations: 15.98 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3751, allocations: 39.78 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.3753, allocations: 87.53 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3753, allocations: 0 / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3753, allocations: 0 / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3753, allocations: 3.984 kB / 1.219 GB, free: 12.7 MB / 0.9669 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.0006216/0.3759, allocations: 391.1 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3759, allocations: 8.031 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.376, allocations: 8.891 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3762, allocations: 189.7 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.3762, allocations: 4.375 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3762, allocations: 8.375 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3764, allocations: 91.62 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3765, allocations: 0 / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.3765, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3765, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3767, allocations: 43.97 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.3772, allocations: 328.7 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3774, allocations: 54.55 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.3775, allocations: 28.94 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3775, allocations: 0 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3775, allocations: 34.56 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3775, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000362/0.3779, allocations: 101.6 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.3779, allocations: 89.03 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3781, allocations: 127.4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3781, allocations: 25.7 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.3782, allocations: 104.1 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3782, allocations: 15.78 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3782, allocations: 21.7 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3784, allocations: 326.8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-05/0.3785, allocations: 23.98 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.3786, allocations: 37.7 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3787, allocations: 52.8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3787, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001913/0.3789, allocations: 85.8 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3789, allocations: 8 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3789, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3789, allocations: 192 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.379, allocations: 11.98 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.379, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.3791, allocations: 15.94 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3791, allocations: 11.92 kB / 1.221 GB, free: 10.25 MB / 0.9669 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.0001056/0.3792, allocations: 113.8 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3793, allocations: 7.953 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.3793, allocations: 16.17 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3793, allocations: 0 / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3793, allocations: 4 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3793, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.3795, allocations: 197.5 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3795, allocations: 0 / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.3796, allocations: 8 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3796, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3796, allocations: 3.984 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3796, allocations: 4 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3796, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3799, allocations: 179.4 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.3799, allocations: 81.11 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.38, allocations: 0 / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3801, allocations: 15.98 kB / 1.221 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.3801, allocations: 7.984 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.3801, allocations: 3.938 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.612e-05/0.3802, allocations: 105 kB / 1.221 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3802, allocations: 4 kB / 1.221 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002249/0.3804, allocations: 19.83 kB / 1.221 GB, free: 9.395 MB / 0.9669 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.0001329/0.3806, allocations: 107.2 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3808, allocations: 51.91 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3808, allocations: 0 / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.3809, allocations: 31.92 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3812, allocations: 4 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.3816, allocations: 183 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.382, allocations: 0.6924 MB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.382, allocations: 4 kB / 1.223 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.3821, allocations: 7.438 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3821, allocations: 0 / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of Templates: time 0.003641/0.3857, allocations: 0.9015 MB / 1.223 GB, free: 7.371 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.332482767291367]