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.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.001396/0.001396, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001522/0.001522, allocations: 203 kB / 22.17 MB, free: 5.211 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.486/1.486, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.941/2.941, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002192/0.002192, allocations: 63.91 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.154, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003417/1.157, allocations: 1.692 MB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008837/1.158, allocations: 460.5 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/1.158, allocations: 4 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.42e-05/1.158, allocations: 7.922 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/1.158, allocations: 11.81 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/1.158, allocations: 27.97 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/1.158, allocations: 91.62 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/1.159, allocations: 23.92 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/1.159, allocations: 43.8 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/1.159, allocations: 39.83 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/1.159, allocations: 8 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/1.159, allocations: 4 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/1.159, allocations: 19.92 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/1.159, allocations: 31.81 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/1.159, allocations: 90.3 kB / 1.277 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.159, allocations: 4 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.854e-06/1.159, allocations: 0 / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.159, allocations: 0 / 1.277 GB, free: 2.016 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.0006781/1.16, allocations: 395 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.16, allocations: 8.031 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/1.16, allocations: 8.891 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.16, allocations: 184.3 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/1.16, allocations: 384 / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/1.16, allocations: 8.375 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/1.16, allocations: 95.62 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.16, allocations: 3.938 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.16, allocations: 0 / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.16, allocations: 4 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/1.161, allocations: 43.97 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/1.161, allocations: 336.7 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/1.161, allocations: 42.66 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/1.161, allocations: 32.83 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/1.161, allocations: 0 / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.161, allocations: 38.56 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.161, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003752/1.162, allocations: 101.8 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.162, allocations: 85.11 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.162, allocations: 126.1 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/1.162, allocations: 25.7 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/1.162, allocations: 104 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/1.162, allocations: 15.91 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/1.162, allocations: 21.7 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.162, allocations: 326.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/1.162, allocations: 23.97 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/1.163, allocations: 37.7 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/1.163, allocations: 56.8 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.163, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/1.163, allocations: 81.62 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.163, allocations: 8 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.163, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.163, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/1.163, allocations: 12.17 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.163, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/1.163, allocations: 15.98 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/1.163, allocations: 7.938 kB / 1.279 GB, free: 15.57 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.0001142/1.163, allocations: 117.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/1.163, allocations: 7.953 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/1.163, allocations: 16.17 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/1.163, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.163, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.163, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/1.164, allocations: 189.5 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.164, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/1.164, allocations: 8 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.164, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.164, allocations: 3.984 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.164, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.164, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/1.164, allocations: 179.4 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/1.164, allocations: 93 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/1.164, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/1.164, allocations: 11.98 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/1.164, allocations: 7.984 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.164, allocations: 7.938 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.789e-05/1.164, allocations: 101.7 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.164, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002249/1.164, allocations: 16 kB / 1.279 GB, free: 14.72 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.0001312/1.165, allocations: 109.6 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000233/1.165, allocations: 47.97 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.165, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/1.165, allocations: 27.92 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/1.165, allocations: 8 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/1.166, allocations: 182.9 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/1.166, allocations: 0.6924 MB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.168e-05/1.166, allocations: 8.172 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/1.166, allocations: 11.44 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.166, allocations: 0 / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.003835/1.17, allocations: 0.9008 MB / 1.281 GB, free: 12.69 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 -s cvode -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_2/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: 9.402778310701251]